![]() |
|
XP is just a number | |
PerlMonks |
Re: Tricky regex problemby Eily (Monsignor) |
on Jul 22, 2020 at 15:55 UTC ( #11119662=note: print w/replies, xml ) | Need Help?? |
Not a single regex but one way to do what you want is to read your file in paragraph mode, with $/ and split the logic:
Otherwise you could use a negative look ahead assertion (?!^\w) Edit: seems like I really didn't read the requirement well enough ^^"
In Section
Seekers of Perl Wisdom
|
|