Forum Discussion
Robert_47833
Sep 14, 2011Altostratus
match_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
Sep 14, 2011Nimbostratus
The "()" 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
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