symfony API

sfGlobToRegex Class

« Back to API menu

1.2 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.2 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) Browse code

    $glob pattern

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

    returns regex

  • setStrictLeadingDot ($boolean) Browse code

    $boolean

  • setStrictWildcardSlash ($boolean) Browse code

    $boolean

The Sensio Labs Network

Since 1998, Sensio Labs has been promoting the Open-Source software movement by providing quality web application development, training, consulting.
Sensio Labs also supports several large Open-Source projects.