Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fileRead, s, % A_ScriptFullPath
- ; Quotes
- quotes := """(""""|[^""])*"""
- ; Multiline Comments / Comments
- comments := "/\*.*?^\s*\*/|(^\s*|\s);[^\r\n]*"
- ; anything but curlies
- allbutbraces := "[^{}]"
- grp := "((" quotes "|" comments "|" allbutbraces ")*)"
- n := "`ams)" grp "{" grp "(?R)*" grp "}"
- RegExMatch( s, n, m )
- MsgBox,0,E: %ErrorLevel%, %m%
- blah(x1="{",x2="}",y1="(",y2=")"){ ;}
- /*
- }
- */
- n := lala( x1 x2 y1 y2 )
- loop, 5
- {
- while ( true )
- {
- n := 1
- break
- }
- if ( true )
- {
- n := true
- } else {
- n := false
- }
- }
- ; }
- }
- lala( s )
- {
- return s
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement