Details

    • Type: Improvement Improvement
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9.1
    • Fix Version/s: 0.9.2
    • Component/s: Compiler, Parser
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Regex literals should support options as in JavaScript and other languages (non-literal on Perl and Python) :

      e.g:

      /ok/i.IsMatch("OK")  //case-insensitive regex => it matches
      

      Valid options :

      • g - Global (no-op on .NET)
      • i - Ignore case
      • m - Multi line
      • s - Single line (dot includes \n)
      • x - ignore pattern whitespace (and allow comments)
      • l - locale-aware (no-op on .NET, since (l)ocale-aware by default)
      • n - culture-(n)eutral [boo-specific]
      • c - compiled regex [boo-specific]
      • e - explicit capture [boo-specific]

        Activity

        Hide
        Cedric Vivier added a comment -

        Landed in rev. 3374

        Show
        Cedric Vivier added a comment - Landed in rev. 3374

          People

          • Assignee:
            Cedric Vivier
            Reporter:
            Cedric Vivier
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: