~/forever/addon-api/function/C_Intl.FindStringMatches
C_Intl.FindStringMatches
documented function · Intl
C_Intl.FindStringMatches(text, pattern, strength) : byteOffsetsCreates a string search iterator using a collator and returns every match position.
──ARGUMENTS
- text
- cstring (The UTF-8 text scanned by the string search iterator.)
- pattern
- cstring (The UTF-8 pattern whose collation-aware matches are returned.)
- strength
- CollationStrength (The comparison level used by the collator while searching for matches.)
──RETURNS
- byteOffsets
- table<luaIndex> (The UTF-8 byte offsets of matches in the text (returned with 1-based indexes for lua convenience).)
──DETAILS
- May Return Nothing
- true
- Secret Arguments
- AllowedWhenTainted
──VERSION HISTORY
Present since at least 1.60.1.70707, the first build we track.