Difference: RegularExpression (4 vs. 5)

Revision 52003-04-15 - PeterThoeny

Line: 1 to 1

Regular Expressions

Line: 12 to 12
compan(y|ies) Search for company, companies
(peter|paul) Search for peter, paul
bug* Search for bug, bugs, bugfix
bug* Search for bug, bugg, buggg or simply bu (a star matches zero or more instances of the previous character)
bug.* Search for bug, bugs, bugfix (a dot-star matches zero or more instances of any character)
[Bb]ag Search for Bag, bag
b[aiueo]g Second letter is a vowel. Matches bag, bug, big
b.g Second letter is any letter. Matches also b&g
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.RegularExpression