- Posted by
- I think these work a little better: /Function String = "%[ ^t]++^([publicrvatenod]+[ ^t]+[voidntlgushr]+[ ^t]+[a-zA-Z0-9_]+(*)[~;~.]^)" /Function String 1 = "%[ ^t]++^([publicrvatenod]+[ ^t]+[unsigedtac]+[ ^t]+[voidntlgushr]+[ ^t]+[a-zA-Z0-9_]+(*)[~;~.]^)" /Function String 2 = "%[ ^t]++^([publicrvat...Posted in Syntax Highlighting
-   Topics
-   Views
- fpdave
Jan 11, 2007
- Thats what the %* is for (the % matches theg beginning of the line, and the * matches any char zero or more times) It certainly picks up private and public subs OKPosted in Syntax Highlighting
-   Topics
-   Views
- fpdave
Aug 22, 2005
- OK, I have a solution. In the wordfile, replace the single line: /Function String = "%*^{Function^}^{Sub^}*(" by: /Function String = "%*^(Sub*^)(" /Function String 1 = "%*^(Function*^)(" /Function String 2 = "%*^(Property [LG]et*^)(" These will also just list the Sub and the name of the sub. If you ...Posted in Syntax Highlighting
-   Topics
-   Views
- fpdave
Aug 22, 2005
- I dont suppose you ever found a solution to this. I have found that the regular expression for Function strings is probably incorrect in teh WordFile.txt. It is /Function String = "%*^{Function^}^{Sub^}*(" but if I use this regexp in UE itself (with UE regexps turned on) then it only finds Subs as w...Posted in Syntax Highlighting
-   Topics
-   Views
- fpdave
Aug 22, 2005