Added global modifier for regex check
Merge remote-tracking branch 'main/master'

* main/master:
  Added global modifier for regex check