Linked by David Adams on Sun 7th Dec 2008 02:03 UTC, submitted by HugoS
General Development Version 6 of the popular Perl programming language will not be compatible with previous versions, but will open up a new world of custom "languages" and interpreters, according to its founder Larry Wall. Wall and his co-developers are doing with Perl 6 -- starting again. "It will break backward compatibility [but] in order to simplify it we have to get rid of old cruft, particularly the regular expression cruft," Wall said. "A lot of the unreadability of Perl is related to the regular expression syntax " and we didn't do that, we got it from Unix. It needs to be end-of-lifed."
Thread beginning with comment 339474
To read all comments associated with this story, please click here.
regex's
by flanque on Sun 7th Dec 2008 03:20 UTC
flanque
Member since:
2005-12-15

Regular expressions are really powerful and can do some wonderful stuff but they are a pain in the rear to understand if you didn't write it/them (and they're complex). Heck even ones I did write I have to work out again what they do if I haven't dealt with it in a while.

A move to "fix" regex's in Perl is a good move in my book.

Reply Score: 8

RE: regex's
by liber on Sun 7th Dec 2008 11:27 in reply to "regex's"
liber Member since:
2008-10-26

a tip i the small kde utility "kregexpeditor". it visualises your regexps in a neat way. IIRC it can also be used as a wysiwyg, but I never tried that.

Reply Parent Score: 3