pub const RegExpFlag_Global: u8 = 2;
Expand description

Act globally and find all matches (rather than stopping after just the first one), i.e. /g.