in reply to
Looking for appropriate Regex
$id =~ s/([a-z]) ([a-z])/$1,$2/;
Thanks a lot!
But,oops, I found a few exceptions, like: A B 1234 a c d
I tried to fix this by simply extending your script:
But this doesn't work!
Oh yes, it does!
I just swaped both lines, so that the extended line preceeds your line. And voilą!
shiny regexes and rules offered by Perl 6
other CPAN module
by looking at it on my monitor
I print it and I read it in spare time
first I convert it into $FORMAT, then I parse it
I hire someone to do it
using my custom module
I write a brand new language to do the task
on the server where I play as human, XML is forbidden
what is XML?
I speak XML natively
I write a new grammar for Perl 6
some other way
Results (377 votes),