Tuesday, September 18, 2007

Displayed here is a quick lookup comparison between Visual Studio's regular expression and that of the standard Regex syntax.

Description Visual Studio IDE Standard
Any single character . .
Zero or more * *
One or more + +
Beginning of line ^ ^
End of line $ $
Beginning of word < (non standard)
End of word > (non standard)
Line break \n \n
Any character in set [ ] [ ]
Any character not in set [^ ] [^ ]
Or | |
Escape special char \ \
Tag expression { } ( )
  Identifier :i ([a-zA-Z_$][a-zA-Z0-9_$]*)
Quoted string :q (("[^"]*")|('[^']*'))
Space or Tab :b [ |\t]
Integer :z [0-9]+
posted on Tuesday, September 18, 2007 6:57:58 PM (South Africa Standard Time, UTC+02:00)  #    Trackback
Related posts:
Key not valid for use in specified state
An unexptected error occured on send | SSL
HttpContext within a Business Layer