Regular expressions in SCH

Ideas for ADC may be presented here for others to review and point out flaws or further improve the idea.
Forum rules
If you have an account on the wiki, remember to update the ADC Proposals page for new ideas.

http://dcbase.org/wiki/ADC_Proposals_list
Locked
Pretorian
Site Admin
Posts: 214
Joined: 21 Jul 2009, 10:21

Regular expressions in SCH

Post by Pretorian » 26 Nov 2010, 18:59

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
|=====

Crise
Senior Member
Posts: 139
Joined: 10 Nov 2007, 21:34

Re: Regular expressions in SCH

Post by Crise » 01 Jan 2014, 20:19

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).

Locked