symfony API

sfGlobToRegex Class

You are currently browsing
the website for symfony 1

Visit the Symfony2 website

« Back to API menu


You are currently browsing the symfony API for the 1.4 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

Match globbing patterns against text.

Method Summary

Method Details

  • (string) glob_to_regex ($glob)

    $glob pattern

    Returns a compiled regex which is the equiavlent of the globbing pattern.

    returns regex

  • setStrictLeadingDot ()

  • setStrictWildcardSlash ()