Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4489

Simplify DefaultExcludedPatternsChecker class pattern

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.20
    • 2.3.24
    • Core Interceptors
    • None

    Description

      The current pattern that matches class expressions looks like:

      "(.*\\.|^|.*|\\[('|\"))\\bclass(\\.|('|\")]|\\[).*"

      However, as far as I can tell, this is completely equivalent to:

      ".*\\bclass(\\.|('|\")]|\\[).*"

      Not sure if this is a bug, or an improvement.

      Attachments

        Activity

          People

            lukaszlenart Lukasz Lenart
            perfnorm Jasper Rosenberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: