Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-4012

javascript outline fails due to a complicated regexp

    Details

    • Type: Bug
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: Aptana Studio 3.0.7
    • Fix Version/s: None
    • Component/s: JS, Outline
    • Environment:

      mac osx 10.5 / eclipse 3.6.2 / studio 3.0.7 plugin-ver

      Description

      complicated regexp like below causes js outline not showing up at all.

      /^(?:(?:(?:(?:[a-zA-Z0-9_!#\$\%&'*+/=?\^`{}~|\-]+)(?:\.(?:[a-zA-Z0-9_!#\$\%&'*+/=?\^`{}~|\-]+))*)|(?:"(?:\\[^\r\n]|[^\\"])*")))\@(?:(?:(?:(?:[a-zA-Z0-9_!#\$\%&'*+/=?\^`{}~|\-]+)(?:\.(?:[a-zA-Z0-9_!#\$\%&'*+/=?\^`{}~|\-]+))*)|(?:\[(?:\\\S|[\x21-\x5a\x5e-\x7e])*\])))$/
      

      not-so-complicated one, like below, was OK.

      /^((http(s?))\:\/\/)([0-9a-zA-Z\-]+\.)+[a-zA-Z]{2,6}(\:[0-9]+)?(\/\S*)?$/
      

      I did not see this in 3.0.6 but since 3.0.7.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pinnamuri Praveen Innamuri (Inactive)
                Reporter:
                obaratch Takashi Obara
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Git Source Code