bats-core / bats-assert

Common assertions for Bats
Creative Commons Zero v1.0 Universal
96 stars 42 forks source link

Add warning about "missing" parts of regex #68

Open TurekBot opened 2 months ago

TurekBot commented 2 months ago

As someone new to bash, but familiar with regular expressions, it wasn't clear to me that something like \w would not work. This added admonition should hopefully save future on-lookers the same trouble I experienced.

I used the wording from the S/O response that helped me realize my error, but if you'd like to change it, that's fine by me.