Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-7473

Unable to find function 'matches

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • None
    • 7.60.0.Final
    • dmn engine
    • None
    • Hide

      run the following ::

      inside a BKM :

      borrowerTaxInfo.dateOfRegistration = "yyyy-mm-dd"

      matches(borrowerTaxInfo.dateOfRegistration,"^\d{4}\-(0?[1-9]|1[012])\-(0?[1-9]|[12][0-9]|3[01])$") 
      
      Show
      run the following :: inside a BKM : borrowerTaxInfo.dateOfRegistration = "yyyy-mm-dd" matches(borrowerTaxInfo.dateOfRegistration, "^\d{4}\-(0?[1-9]|1[012])\-(0?[1-9]|[12][0-9]|3[01])$" )
    • NEW
    • NEW
    • ---
    • ---

      When using matches function - has started showing "error"

      [org.kie.dmn.feel.runtime.functions.MatchesFunction] (default task-1) Unable to find function 'matches( lass org.kie.dmn.feel.runtime.functions.MatchesFunctio )'

              mmortari@redhat.com Matteo Mortari
              kunal.kishan.infosys Kunal Kishan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: