Match the subject against a set of regex patterns. Similar to drupal_match_path() but also handles negation through the use of the ~ character.
|mixed ||$subject The subject string or an array of strings to be matched. |
|array ||$patterns An array of patterns. Any patterns that begin with ~ are considered negative or excluded conditions. |
|boolean ||$path Whether the given subject should be matched as a Drupal path. If TRUE, '<front>' will be replaced with the site frontpage when matching against $patterns. |
Definition at line 77 of file context_condition_path.inc.
Referenced by execute(), and context_condition_context::execute().
Here is the call graph for this function:
Here is the caller graph for this function: