View Full Version : Latest PCRE in JavaScript

09-21-2005, 06:44 AM
When could we expect to see PCRE 6.4 compatibility available for JavaScript regular expressions, if ever?

09-22-2005, 01:03 AM
Is there something specific that you're missing?

I haven't had any problems with JavaScript regular expressions so far. They seem to work very well.

09-22-2005, 01:35 AM
No problems thus far. Just curious when JavaScript will see the latest regex features available. Not that it would matter, I suppose, seeing as MS won't keep IE up-to-date with the latest standards.

09-22-2005, 04:30 AM
I wouldn't expect JavaScript to gain that much regex functionality from the point it's at already. If anything, I think they'd instead see if something similar to the PERL6 Grammar* system could be added to JavaScript.

* Note the names change? PERL5 regex were no longer regular expressions, they had grown way past what a regular expression can do. This just confirms that.

Rules --> Grammar

09-22-2005, 04:53 PM
I didn't realize the version of PCRE wasn't synonymous with the PERL version. Looking at the description on Fresh Meat (http://freshmeat.net/projects/pcre/?branch_id=7686&release_id=203049) I can see that now.

For anyone that is interested, here are two good articles on PERL6 regex...
Apocalypse 5: Pattern Matching (http://dev.perl.org/perl6/doc/design/apo/A05.html)
Cultured Perl: Perl 6 grammars and regular expressions (http://www-128.ibm.com/developerworks/linux/library/l-cpregex.html?ca=dgr-lnxw01Perl6Gram)