in reply to Simple regrep question

Your SOPW would be more in line with local standards if you presented your (newest||best) code rather than merely saying "(i)t is just the regrep that is having me tear my hair out....

If you present the failing code, we can disect that...providing information that will serve you better in the future than that info embedded in code you can copy.


Questions containing the words "doesn't work" (or their moral equivalent) will usually get a downvote from me unless accompanied by:
  1. code
  2. verbatim error and/or warning messages
  3. a coherent explanation of what "doesn't work actually means.