mirror of
https://github.com/mawww/kakoune.git
synced 2024-12-27 05:33:17 +03:00
Regex: rename "flags" with the more common "modifiers"
This commit is contained in:
parent
52d443f764
commit
df16fea82d
@ -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)"))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user