|
gmueller Apprentice
Joined: 06 Apr 2004 Posts: 173
|
Posted: Wed Jun 11, 2008 8:37 pm
subregex |
Zugg, do you think you can make a case sensitive subregex command?
oh, and if you ever decide you'd do it, do you think you can get it to return 0 or n if it actually found n matches?
I.. would hold you in high esteem - forever if you did.. well I already do so nothing new.. |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Wed Jun 11, 2008 9:05 pm |
You can turn on case senstivity in the pattern. To do this put "(?-i)" at the beginning of your pattern, that is part of the regex standard.
The latest version actually can supply a match counter as part of its return string. See the help Advanced Substitutions for more information. |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
|
|