Uploaded image for project: 'Railo'
  1. Railo
  2. RAILO-2581

==~: regex compare operator

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      See http://cfmlblog.adamcameron.me/2013/08/thinking-about-operators-in-cfml.html

      Suggest adding ==~ operator which returns true if the regex in the second operand matches the first operand, eg:

      'a' ==~ '[a-z]'

      would be true

      Adam

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                micstriit Michael Offner
                Reporter:
                adamcameroncf Adam Cameron
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: