You are here

constant regex_consonant in Porter-Stemmer 6

Same name and namespace in other branches
  1. 5 porterstemmer.module \regex_consonant

Regex for matching a consonant

3 uses of regex_consonant
cvc in ./porterstemmer.module
Checks for ending CVC sequence where second C is not W, X or Y
doubleConsonant in ./porterstemmer.module
Returns true/false as to whether the given string contains two of the same consonant next to each other at the end of the string.
m in ./porterstemmer.module
What, you mean it's not obvious from the name?

File

./porterstemmer.module, line 43

Code

define('regex_consonant', '(?:[bcdfghjklmnpqrstvwxz]|(?<=[aeiou])y|^y)');