| An Introduction to Regular Expressions | The Basics | 13 of 50 : [PREV] [NEXT] |
Standard Meta CharactersQuantifiersQuantifiers say how many of the previous substring should match in a row. Here are a few quantifiers:
Quantifiers can only be put after atoms, assertions with width.
They attach only to the previous atom, so if you want a quantifier to apply to multiple characters, you must group them together, like this:
|
| © 2003 Barbie barbie@missbarbell.co.uk | Home | http://birmingham.pm.org/ |