bats-core / bats-assert

Common assertions for Bats
Creative Commons Zero v1.0 Universal
94 stars 39 forks source link

Add warning about "missing" parts of regex #68

Open TurekBot opened 1 month ago

TurekBot commented 1 month 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.