Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-12782

Scanning for ! in Task Scanner Plugin

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: tasks-plugin
    • Labels:
    • Environment:
      Windows Server
    • Similar Issues:

      Description

      I want to use the Task Scanner Plugin to scan for "!!!!!" in files as this was used in older code instead of "TODO" - but no matter how I try to add it to the configuration (I even tried some RegEx) I don't get it to treat it like normal text.

        Attachments

          Activity

          Hide
          drulli Ulli Hafner added a comment - - edited

          Did you try

          \!
          Show
          drulli Ulli Hafner added a comment - - edited Did you try \!
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ulli Hafner
          Path:
          .classpath
          src/main/java/hudson/plugins/tasks/parser/Task.java
          src/main/java/hudson/plugins/tasks/parser/TaskScanner.java
          src/test/java/hudson/plugins/tasks/parser/TaskScannerTest.java
          src/test/resources/hudson/plugins/tasks/parser/issue12782.txt
          http://jenkins-ci.org/commit/tasks-plugin/0e484b07198f41851bda4c3bf5a02161d1077e8b
          Log:
          [FIXED JENKINS-12782] Don't match word boundary if first or last
          character is not alpha numeric.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: .classpath src/main/java/hudson/plugins/tasks/parser/Task.java src/main/java/hudson/plugins/tasks/parser/TaskScanner.java src/test/java/hudson/plugins/tasks/parser/TaskScannerTest.java src/test/resources/hudson/plugins/tasks/parser/issue12782.txt http://jenkins-ci.org/commit/tasks-plugin/0e484b07198f41851bda4c3bf5a02161d1077e8b Log: [FIXED JENKINS-12782] Don't match word boundary if first or last character is not alpha numeric.
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_tasks #320
          [FIXED JENKINS-12782] Don't match word boundary if first or last (Revision 0e484b07198f41851bda4c3bf5a02161d1077e8b)

          Result = SUCCESS
          Ulli Hafner :
          Files :

          • src/main/java/hudson/plugins/tasks/parser/TaskScanner.java
          • src/test/java/hudson/plugins/tasks/parser/TaskScannerTest.java
          • .classpath
          • src/test/resources/hudson/plugins/tasks/parser/issue12782.txt
          • src/main/java/hudson/plugins/tasks/parser/Task.java
          Show
          dogfood dogfood added a comment - Integrated in plugins_tasks #320 [FIXED JENKINS-12782] Don't match word boundary if first or last (Revision 0e484b07198f41851bda4c3bf5a02161d1077e8b) Result = SUCCESS Ulli Hafner : Files : src/main/java/hudson/plugins/tasks/parser/TaskScanner.java src/test/java/hudson/plugins/tasks/parser/TaskScannerTest.java .classpath src/test/resources/hudson/plugins/tasks/parser/issue12782.txt src/main/java/hudson/plugins/tasks/parser/Task.java
          Hide
          fleasoft Florian Loikasek added a comment -

          Hi Ulli, I tried ! as well. Thanks for submitting a fix to the issue although I didn't answer in the mean time. (Danke!)

          Show
          fleasoft Florian Loikasek added a comment - Hi Ulli, I tried ! as well. Thanks for submitting a fix to the issue although I didn't answer in the mean time. (Danke!)

            People

            • Assignee:
              drulli Ulli Hafner
              Reporter:
              fleasoft Florian Loikasek
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: