Regex: rename "flags" with the more common "modifiers"

This commit is contained in:
Maxime Coste 2017-10-13 13:09:33 +08:00
parent 52d443f764
commit df16fea82d

View File

@ -135,7 +135,7 @@ private:
AstNodePtr term() AstNodePtr term()
{ {
while (flag()) // read all flags while (modifiers()) // read all modifiers
{} {}
if (auto node = assertion()) if (auto node = assertion())
return node; return node;
@ -158,7 +158,7 @@ private:
return true; return true;
} }
bool flag() bool modifiers()
{ {
if (peek("(?i)")) if (peek("(?i)"))
{ {