Keep It Simple, Stupid | |
PerlMonks |
Regexp - match if not between [ ]by Anonymous Monk |
on May 30, 2011 at 13:51 UTC ( [id://907316]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: Hi there all,
I need to split a string at dots (.) that are not between square braces, or not immediately after two patterns ( Cf. or \w\d+.\d+ pattern, like A432.23 ). If the sample is The fox did it[ at 12.23 ] well, Cf. 23 A423.23. The swallow was even better , then the split should happen at '23. The' substring. Actually, this sample covers the typo cases I have encountered.Any idea is appreciated. salmonix
Back to
Seekers of Perl Wisdom
|
|