Regular expression matching: ARG1 regexp(ARG2) More...
|Public Member Functions inherited from loos::internal::Action|
|Action (const std::string s)|
|void||setStack (ValueStack *)|
|void||setAtom (pAtom &)|
|virtual std::string||name (void) const|
|Protected Member Functions inherited from loos::internal::Action|
|Compare the top two items on the stack... |
|Check to make sure an atom has been set... |
|Protected Attributes inherited from loos::internal::Action|
|Pointer to the data stack. |
|Pointer to the atom we'll be working on... |
|Record of command-name (for printing) |
Regular expression matching: ARG1 regexp(ARG2)
Takes the top item on the stack and compiles this into a regular expression, then matches it against the next item on the stack. This is likely to be pretty inefficient, so it's better to use matchRegex instead if you can.