agaved has asked for the wisdom of the Perl Monks concerning the following question:
The divider can be '.' and '_', too.
I used as regexp /\d{2}\-._\d{2}(\-._\d{2})*/ but it doesn't match ... I cannot understand why.
I guess it will be pretty obvious in hindsight, but I have been banging my head on the wall for hours and couldn't get through.
Any help much appreciated.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regexp problem
by choroba (Cardinal) on Aug 28, 2012 at 13:29 UTC | |
|
Re: Regexp problem
by philiprbrenan (Monk) on Aug 28, 2012 at 13:29 UTC | |
by kcott (Archbishop) on Aug 28, 2012 at 16:24 UTC | |
|
Re: Regexp problem
by jethro (Monsignor) on Aug 28, 2012 at 13:35 UTC | |
|
Re: Regexp problem
by agaved (Novice) on Aug 28, 2012 at 20:15 UTC | |
by linuxer (Curate) on Aug 28, 2012 at 20:35 UTC |