Page 1 of 1

Regular expressions in SCH

Posted: 26 Nov 2010, 18:59
by Pretorian
The regular expression extension was in the pre-BASE/Extension split, and was later marked as "rejected", specifically because my post about how you could abuse regular expressions. (My post; https://dcpp.wordpress.com/2008/07/22/d ... one-please)

So that no one uses the same FCC or field for something else, I want to reserve REGX (and RX) here.

Actually, if someone do indeed implement this feature, it is your prerogative and I will as such add it to that coming ADC-Ext revision.

Spec;
=== Regular expressions in SCH
This extension will add Perl's regular expressions (http://perldoc.perl.org/perlre.html) with full Unicode support to SCH.

Signal REGX in SUP and in the INF's SU field.
[options="autowidth"]
|=====
|RE |Regular expression according to http://perldoc.perl.org/perlre.html
|=====

Re: Regular expressions in SCH

Posted: 01 Jan 2014, 20:19
by Crise
I want to bring this back from limbo, mostly to pose a question.

When this was originally rejected was any considerations made to making similar extension with more one dimensional pattern matching (such as wildcards which are considerably easier to implement, parse and even validate if necessary).