Forum Discussion
Robert_47833
Altostratus
Sep 14, 2011match_regex
$uri match_regex "^/(sell)"
Hi,can someone know the meaning of "()" here? what is the function of ()
also match_regex "^/(sell|cjj|bpm|)",what does the "|" mean here
Michael_Yates
Nimbostratus
Sep 14, 2011The "()" are used for logical grouping.
The "|" is for Alterations.
There is a nice Regular Expressions Cheat Sheet here:
http://opencompany.org/download/regex-cheatsheet.pdf
You can get a nice one for .NET here:
http://regexlib.com/CheatSheet.aspx
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects