Interface I_CmsRegexSubstitution

All Known Implementing Classes:
CmsRemoveInnerNameFallback

public interface I_CmsRegexSubstitution
Interface for generating a substitution for a pattern in a string.

Since:
8.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    substituteMatch(String string, Matcher matcher)
    Should return the substitution for the current match of the matcher.
  • Method Details

    • substituteMatch

      String substituteMatch(String string, Matcher matcher)
      Should return the substitution for the current match of the matcher.

      Parameters:
      string - the base string in which the match occurred
      matcher - the matcher which is currently being used
      Returns:
      the substitution which should be used for the current match of the matcher