1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-19 09:21:30 +03:00

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()
{
while (flag()) // read all flags
while (modifiers()) // read all modifiers
{}
if (auto node = assertion())
return node;
@ -158,7 +158,7 @@ private:
return true;
}
bool flag()
bool modifiers()
{
if (peek("(?i)"))
{