|
|||||||||||||||||||||||
Regular ExpressionsOn this page:
IntroductionRegular expressions (REs), unlike simple queries, allow you to search for text which matches a particular pattern. REs are similar to (but much more powerful than) the "wildcards" used in the command-line interfaces found in operating systems such as Unix and MS-DOS. REs are supported by sophisticated search engines, as well as by many Unix-based languages and tools ( e.g., Examples
The Use of Advanced Regular ExpressionsFoswiki strives to support as much as possible of the Perl syntax for regular expressions. Be warned, though, that Foswiki only guarantees to support a subset of regular expression syntax, as documented in Foswiki:Development.RegularExpressions. This limitation is imposed by the third-party tools that Foswiki integrates with. You can use more advanced features of Perl regular expressions, but your searches are not guaranteed to be supported on all Foswiki configurations, for example where a database store is in use and the database doesn't support the full Perl syntax for REs. Related Links:
Related Topics: UserDocumentationCategory ![]() |