Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
4
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. fileRead, s, % A_ScriptFullPath
  2.  
  3. ; Quotes
  4. quotes := """(""""|[^""])*"""
  5. ; Multiline Comments / Comments
  6. comments := "/\*.*?^\s*\*/|(^\s*|\s);[^\r\n]*"
  7. ; anything but curlies
  8. allbutbraces := "[^{}]"
  9.  
  10. grp := "((" quotes "|" comments "|" allbutbraces ")*)"
  11. n := "`ams)" grp "{" grp "(?R)*" grp "}"
  12.  
  13. RegExMatch( s, n, m )
  14.  
  15. MsgBox,0,E: %ErrorLevel%, %m%
  16.  
  17. blah(x1="{",x2="}",y1="(",y2=")"){ ;}
  18. /*
  19. }
  20. */
  21.  
  22. n := lala( x1 x2 y1 y2 )
  23.  
  24. loop, 5
  25. {
  26. while ( true )
  27. {
  28. n := 1
  29. break
  30. }
  31. if ( true )
  32. {
  33. n := true
  34. } else {
  35. n := false
  36. }
  37. }
  38. ; }
  39. }
  40.  
  41. lala( s )
  42. {
  43. return s
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement