in reply to Re^2: system bash return value
in thread system bash return value

Yeah, right, as I said already yesterday (Dec 20, 2016 at 14:49 UTC):
Depending on the situation, the regex might need an ignore case modifier, a quotemeta of the string used for the regex, etc.