Syntactic Confectionery Delight | |
PerlMonks |
Re^2: REgular expression to check the string that allows "a","b" and "c" to occur only once in any order.by parv (Parson) |
on Dec 11, 2007 at 11:06 UTC ( [id://656375]=note: print w/replies, xml ) | Need Help?? |
The assignment of $pos has a bug in ...
... which caused index() to some times start from -1, not ot mention $pos was not being reset to 0. Please ignore my previous reply.
In Section
Seekers of Perl Wisdom
|
|