... at 6th place, i count 2b's and 1c. only thing i want in this puzzle is 6
You should be aware that Perl strings, arrays, etc. are 0-based. So the 'bcc' substring I see in 'abacdbccdee' (and that I think you want) begins at offset 5.
Update: Oops... I may have misinterpreted what siskos1 wants. Nevermind.
In reply to Re: a regular expression problem
by AnomalousMonk
in thread a regular expression problem
by siskos1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |