in reply to RegEx within glob
File globbing has its own pattern syntax and matching semantics, which aren't regex compatible (and much more limited in features).
The closest you could get for your \d{10} example is the pattern [0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9].
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: RegEx within glob
by toolic (Bishop) on Feb 22, 2012 at 15:22 UTC | |
by Eliya (Vicar) on Feb 22, 2012 at 15:36 UTC |