RFE: Add a new AST regex mode ~(C) which allows to concatenate
patterns of different pattern systems into one. Each element of a ~C
string starts with a bracket open and ends with a bracket close, e.g.
(~(F)he)(~(E)..)(~(Ei)o) to match "hello" or "hellO".

Example:
~(C)(~(E)hello.*world)(~(F)*fish) would match the string "hello world*fish"

The idea is that shell, perl and egrep pattern can be concatenated or
converted into other patterns using ksh's printf %P/%R formats.

What do you think about this idea?

Olga
-- 
      ,   _                                    _   ,
     { \/`o;====-    Olga Kryzhanovska   -====;o`\/ }
.----'-/`-/     [email protected]   \-`\-'----.
 `'-..-| /       http://twitter.com/fleyta     \ |-..-'`
      /\/\     Solaris/BSD//C/C++ programmer   /\/\
      `--`                                      `--`

_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to