@Test public void testConvertPHPRegexPattern_null() throws Exception { assertNull(PHPRegexConverter.convertPHPRegexPattern(null)); }
public static String convertPHPRegexPattern(String phpPattern) { if (StringUtils.hasText(phpPattern)) { return phpPattern.replaceFirst("^\\|(.*)\\|$", "$1"); } return phpPattern; }
PHPRegexConverter { public static String convertPHPRegexPattern(String phpPattern) { if (StringUtils.hasText(phpPattern)) { return phpPattern.replaceFirst("^\\|(.*)\\|$", "$1"); } return phpPattern; } }
PHPRegexConverter { public static String convertPHPRegexPattern(String phpPattern) { if (StringUtils.hasText(phpPattern)) { return phpPattern.replaceFirst("^\\|(.*)\\|$", "$1"); } return phpPattern; } private  PHPRegexConverter(); }
PHPRegexConverter { public static String convertPHPRegexPattern(String phpPattern) { if (StringUtils.hasText(phpPattern)) { return phpPattern.replaceFirst("^\\|(.*)\\|$", "$1"); } return phpPattern; } private  PHPRegexConverter(); static String convertPHPRegexPattern(String phpPattern); }
PHPRegexConverter { public static String convertPHPRegexPattern(String phpPattern) { if (StringUtils.hasText(phpPattern)) { return phpPattern.replaceFirst("^\\|(.*)\\|$", "$1"); } return phpPattern; } private  PHPRegexConverter(); static String convertPHPRegexPattern(String phpPattern);  }