Skip to content
Unverified Commit 8c56d6ec authored by Dimitri Papadopoulos Orfanos's avatar Dimitri Papadopoulos Orfanos
Browse files

Simpler regex and consistent use in tests

* Some regex'es were compiled, others not.
* No need to match "anything" (.*) at the end of a regex.
* No need to match "anything" (.*) at the start of a regex,
  use search() instead of match().
* A regex to find a comma is overkill.
parent 2e0f1d9e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment