in reply to Re: parsing a bibliography
in thread parsing a bibliography
wonderful! Wish I could ++ your solution repeatedly! This writeup led to a "Eureka!" moment; the kind of haze-clearing that makes PM so valuable to beginners like me.
request: please add to our understanding by commenting lines of regex, esp that part of line8 reading
(?=[A-Z][a-z])(grouped but non-capture??)
and in line13,
( [^\[]+ )which, as I read Owl (pocket ref), means capture one-or-more of a class including not-an-open_BRKT and close_BRKT ...which doesn't make sense to me, and -- more importantly, doesn't seem to WORK that way.
In Section
Seekers of Perl Wisdom