Created On:  15 February 2011

Problem:

What version of Regular Expression can be used to create triggers in Code Review for DevPartner Studio?

Resolution:

DevPartner Studio uses “.NET Framework Regular Expressions” as its implementation for Regular Expression.

http://msdn.microsoft.com/en-us/library/hs600312(v=vs.71).aspx

http://msdn.microsoft.com/en-us/library/hs600312.aspx#Y400

Examples: Regular Expression to extract the filename and directory which contains the file located at “/path/to/file”

‘.*/\([^/]*\)’ => file

‘\(.*\)/[^/]*’ => /path/to
Incident #2490748