Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-15275

Docs point to out-of-date Boost docs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4.2
    • Fix Version/s: 6.4.0
    • Component/s: Documentation
    • Labels:
      None
    • Environment:
      regular expression library

      Description

      Re the version: I'm at LN in Dayton, this is the version we are using.

      I hope i have chosen all of the correct field values. I've not filed many reports for you, but will strive to understand your classifications as i do more of them.

      In the documentation for regexfind, we are pointed to http://www.boost.org/doc/libs/1_39_0/libs/regex/doc/html/index.html for the details of ECL’s implementation of regular expressions. That site lists the expected characters which must be escaped to be used in a regex:

      . [ { ( ) \ * + ? | ^ $,

      This list does not contain the closing curly or closing square brackets. The list matches my other use of regular expressions, but does not match the behavior of regexfind() in practice. Specifically, one must escape the closing curly bracket to avoid an error, though the closing square bracket works as documented.

      regexfind(']', '1234{}67[]', 0); works as expected and finds the closing bracket without need for escaping it in the regex.

      regexfind('}', '1234{}67[]', 0); should also work, but does not. One must escape the closing curly bracket for it to execute. Else the Submit fails with message: Error: Bad regular expression: Unmatched

      { or \{: }

      (206, 1)

      regexfind('
      }', '1234{}67[]', 0); excaping the } is necessary for it to process.

        Attachments

          Activity

            People

            • Assignee:
              jamesdefabia Jim DeFabia
              Reporter:
              radar radar pangaean
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: