Search results

  1. S

    bash regex broken, won't recognize subexpressions

    Yikes is right! You're right, though. It certainly doesn't work like this on my Linux boxes. It's odd, and makes me fear for portability. But thanks for checking and finding out that it's not TOTALLY broken.
  2. S

    bash regex broken, won't recognize subexpressions

    I'm horrified. /bin/bash 3.2.17 that came with a brand new iMac does not recognize subexpressions in regular expressions. This is recognized. [[ happyFeet =~ 'happyFeet' ]] && echo recognized This is NOT. Which makes it impossible to use the array BASH_REMATCH. [[ happyFeet =~...
Back
Top