senseihitokiri
09-29-2006, 09:38 PM
Hey everyone. I've been working on my ultraedit syntax highlighter and I'm stuck so I turn to the community for regex help. Basically it has a line that allows you to specific the Regular Expression that will be used to determine if something should be highlighted.
/Function String = "%[ ^t]++[a-z]+[ ^t]+^([A-Za-z_]+^)[ ^t]++(*)[~;]"
is the line to be exact. This isn't my line of code but I do have some experience with regex. For some reason this line recognizes spaces before a line but not a tab. Any suggestions?
/Function String = "%[ ^t]++[a-z]+[ ^t]+^([A-Za-z_]+^)[ ^t]++(*)[~;]"
is the line to be exact. This isn't my line of code but I do have some experience with regex. For some reason this line recognizes spaces before a line but not a tab. Any suggestions?