Jose Carrillo wrote on Sat, Jan 7, 2017 11:44 AM UTC:
Thanks for your response and the new functions Fergus.
To keep things simple (I'm an old programmer, not too familiar with the lambda terminology), I just want four replacement functions (that I can use as black boxes) for the existing ones, so that I can do minimal changes to the presets.
Can I use this definition for the new functions I'm looking for?
Thanks for your response and the new functions Fergus.
To keep things simple (I'm an old programmer, not too familiar with the lambda terminology), I just want four replacement functions (that I can use as black boxes) for the existing ones, so that I can do minimal changes to the presets.
Can I use this definition for the new functions I'm looking for?
def onlyupper2 filter lambda (regmatch "/[A-Z]/" #1) pieces
def onlylower2 filter lambda (regmatch "/[a-z]/" #1) pieces
def isupper2 regmatch "/[A-Z]/" #0
def islower2 regmatch "/[a-z]/" #0
Thanks for your help.