Class RegexSearch

Description

Abstract regular expression matching class that handles translation between simple wildcard-based search strings and regular expression strings.

  • version: $Id: RegexSearch.abstract.php,v 1.1 2005/12/08 20:12:41 adamfranco Exp $
  • license: GNU General Public License (GPL)
  • copyright: Copyright © 2005, Middlebury College
  • since: 12/8/05

Located in /harmoni/core/oki2/repository/SearchModules/RegexSearch.abstract.php (line 26)

SearchModuleInterface
   |
   --RegexSearch
Direct descendents
Class Description
DescriptionSearch Return assets of the specified type
DisplayNameSearch Return assets of the specified type
Method Summary
string translateToRegex (string $simpleString)
Methods
translateToRegex (line 39)

Translate a simple search string such as 'ge*ing' into a regex string such as '/\<ge.*ing\>/i'

  • since: 12/8/05
  • access: public
string translateToRegex (string $simpleString)
  • string $simpleString

Inherited Methods

Inherited From SearchModuleInterface

SearchModuleInterface::searchAssets()

Documentation generated on Wed, 19 Sep 2007 10:25:54 -0400 by phpDocumentor 1.3.0RC3