ctor
whether or not 's' flag was used
exec
flags property
whether or not 'g' flag was used
whether or not 'i' flag was used
last index property
last index property
returns match
matchAll - The Script will implement this as an iterator once generators are a thing
whether or not 'm' flag was used
replace
replace only the first occurrence.
search
source property
split
test
get the string representation
Class that encapsulates regular expressions. The D struct Regex cannot be directly stored in a ScriptObject