Class GroupReplacementCheck

All Implemented Interfaces:
PythonCheck, SubscriptionCheck

public class GroupReplacementCheck extends AbstractRegexCheck
  • Constructor Details

    • GroupReplacementCheck

      public GroupReplacementCheck()
  • Method Details

    • lookedUpFunctions

      protected Map<String,Integer> lookedUpFunctions()
      Description copied from class: AbstractRegexCheck
      Should return a map whose keys are the functions the check is interested in, and the values are the position of the flags parameter. Set the position of the flags parameter to null if there is none.
      Overrides:
      lookedUpFunctions in class AbstractRegexCheck
    • checkRegex

      public void checkRegex(org.sonarsource.analyzer.commons.regex.RegexParseResult regexParseResult, CallExpression regexFunctionCall)
      Specified by:
      checkRegex in class AbstractRegexCheck