Optional
captureOptional
isUsed to indicate that searchString is a regular expression.
Optional
matchForce the matching to match lower/upper case exactly.
Optional
searchLimit the searching to only search inside the editable range of the model.
Optional
wordForce the matching to match entire words only. Pass null otherwise.
The result will contain the captured groups.