1

is it possible to use modifiers on regex? Like:

m/some.*title/i ==> tag...

Ilya Novojilov
  • 871
  • 8
  • 12

1 Answers1

1

Yes: arbtt uses perl-compatible regexes, and they allow you to set modifiers inside the pattern:

m/(?i)some.*title/ ==> tag...

See https://www.pcre.org/original/doc/html/pcrepattern.html#SEC13 for more details.

Joachim Breitner
  • 25,395
  • 6
  • 78
  • 139