Method RegEx():quickTest() Foundation
Performs a one-time pattern test.
:quickTest( <cPattern>, <cSubject> ) --> lSuccess
.T. (true) if the pattern was matched, .F. (false) otherwise.
Convenience class method for testing if a pattern matches without having to first create a RegEx object.
Quick test
IF RegEx():quickTest("^[A-Z]", "Hello")
? "Starts with uppercase"
ENDIF
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.