Qwerty
Qwerty

Reputation: 31949

What regex flavour does Apache's mod_rewrite use?

Moreover, does it support named capturing groups and backreferences?

Upvotes: 3

Views: 648

Answers (1)

woot
woot

Reputation: 7616

It uses Perl Compatible Regular Expressions. You can pretty much find all the information you are looking for right here in the docs. The short answer is yes, it supports both.

Upvotes: 4

Related Questions