pub const RegExpFlag_Global: u8 = 2;
Act globally and find all matches (rather than stopping after just the first one), i.e. /g.