Jump to content

Category talk:Wren-pattern: Difference between revisions

→‎Wren patterns: Corrected an example.
(Adjustments to now recognize 'µ' as an extended lower case letter.)
(→‎Wren patterns: Corrected an example.)
Line 167:
Quantifiers always qualify ''singles''. Any departure from this is an error and groups of characters cannot therefore be directly quantified.
 
There may sometimes be ways to quantify them indirectly either by simply repeating the pattern or by using captures and back-references. For example "[abab|ab|]" would match 'ab' repeated 2, 1 or 0 times and "[abcd]/$1/$1" would match 'abcd' repeated exactly three times.
 
However, this sort of approach clearly has its limitations and there is no way to match a group of characters repeated an indefinite number of times.
9,485

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.