Functions§
- Return the position of the pattern in the input If the pattern compilation fails, it returns -1 If a match is found returns the position of the match’s start offset (adjusted by 1)
- Return true if a match is found, overwise return false
- Return the input after replacing pattern with new content Or return the same input if the pattern is invalid
- Return substring matching regular expression or empty string if no match found