Searched refs:maybe_flag (Results 1 – 2 of 2) sorted by relevance
1000 base::Optional<RegExpFlag> maybe_flag = JSRegExp::FlagFromChar(c0_); in ScanRegExpFlags() local1001 if (!maybe_flag.has_value()) return {}; in ScanRegExpFlags()1002 RegExpFlag flag = maybe_flag.value(); in ScanRegExpFlags()
177 def is_flag(maybe_flag): argument178 return maybe_flag.startswith("--") # Best-effort heuristic.