nl.surfnet.coin.teams.util
Class PHPRegexConverter

java.lang.Object
  extended by nl.surfnet.coin.teams.util.PHPRegexConverter

public final class PHPRegexConverter
extends Object

Util class to handle the regular expressions created for PHP


Method Summary
static String convertPHPRegexPattern(String phpPattern)
          Strips the delimiter chars from the PHP regex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

convertPHPRegexPattern

public static String convertPHPRegexPattern(String phpPattern)
Strips the delimiter chars from the PHP regex

Parameters:
phpPattern - String with regular expression that may contain | as delimiter
Returns:
cleaned up regex pattern, can be null


Copyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.