query: Why doesn't my regex work in bash "if"?
positive_passages.docid: 46239
positive_passages.text: Test if there are files matching a pattern in order to execute a script
negative_passages.docid: 1685
negative_passages.text: Why does this Java regex cause "illegal escape character" errors?
negative_passages.docid: 11079
negative_passages.text: Comparing two strings in Bash
negative_passages.docid: 140827
negative_passages.text: Bash regex =~ operator
negative_passages.docid: 75335
negative_passages.text: Bash test: what does "=~" do?
negative_passages.docid: 65529
negative_passages.text: How do I escape the wildcard/asterisk character in bash?
negative_passages.docid: 23506
negative_passages.text: Why doesn't grep using pipe work here?
negative_passages.docid: 120721
negative_passages.text: Why can't I match my string from standard input in Perl?
negative_passages.docid: 427
negative_passages.text: Why does a RegExp with global flag give wrong results?
negative_passages.docid: 92796
negative_passages.text: Linux Bash script fails with a syntax error
negative_passages.docid: 106701
negative_passages.text: Bash: What does ">|" do?
negative_passages.docid: 78395
negative_passages.text: Checking whole string with a regex
negative_passages.docid: 73377
negative_passages.text: why is regex constructor not working?
negative_passages.docid: 131236
negative_passages.text: what's wrong with my grep command?
negative_passages.docid: 16031
negative_passages.text: How to compare two strings in dot separated version format in Bash?
negative_passages.docid: 136156
negative_passages.text: Regular expression works on regex101.com, but not on prod
negative_passages.docid: 157168
negative_passages.text: How do I use a file grep comparison inside a bash if/else statement?