<<O>>  Difference Topic RegularExpression (r1.5 - 15 Apr 2003 - PeterThoeny?)

Regular Expressions

TOC: No TOC in "TWiki.RegularExpression"

Line: 12 to 12

compan(y|ies) Search for company, companies
(peter|paul) Search for peter, paul
Changed:
<
<
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
View topic | Diffs | r1.5 | > | r1.4 | > | r1.3 | More
Revision r1.4 - 22 Mar 2003 - 05:12 - PeterThoeny?
Revision r1.5 - 15 Apr 2003 - 05:19 - PeterThoeny?