So - anyways - here is my wishlist:
1) Could we perhaps shorten/truncate the commands since
Code: Select all
CreateRegularExpression() / MatchRegularExpression()
Code: Select all
CreateRegExpr() / MatchRegExpr()
Code: Select all
CreateRegExpr(0,"[A,B,C]")
debug MatchRegExpr(0,"abcABCDABCD"); Returns 4
Code: Select all
CreateRegExpr(0,"[A,B,C]")
debug CountRegExpr(0,"abcABCDABCD"); Returns 6
To make best use of this powerful library we need new commands to:
4) Search & replace and return the position of matched Regular Expressoins - eg:
Code: Select all
CreateRegExpr(0, "[A-Z]")
debug ReplaceRegExpr(0,"Hello world","`"); Returns "`ello world"
Code: Select all
CreateRegExpr(0, "[A-Z]");CreateRegExpr(1, "[a-z]");
TransposeRegExpr(0,1,"Hello World"); Returns "hello world"