public property flags as Int:
Regular-expression option bits. Bit 1 enables case-insensitive matching. Assigning a new value recompiles the expression before its next use.
1
regex = RegEx("^a$") regex.flags = 1 assert regex.matches("A")