Regex.getCompileFlags

Returns the compile options that regex was created with.

Depending on the version of PCRE that is used, this may or may not include flags set by option expressions such as (?i) found at the top-level within the compiled pattern.

class Regex
getCompileFlags
()

Return Value

Meta

Since

2.26