← Winnitude! Search  ·  Reader Mode (1795 ms)
Links: Stay in Reader Retro Site Converter Retro Mode: OFF Original Page ↗
GITHUB · 6 LINKS

ST4 loading error: Error in regex · Issue #242 · MagicStack/MagicPython

Repository navigation

ST4 loading error: Error in regex  #242


New issue

New issue

Open

Open
ST4 loading error: Error in regex #242

Description

@Levitanus's profile Levitanus opened on Oct 31, 2021
  • Editor name and version :
  • SublimeText4: 4121
  • Platform :
  • Ubuntu 20.10
  • Color scheme :
  • any: monokau, matherialUi, MaterialUiImproved
  • MagicPython version :
  • 1.1.1
  • A sreenshot :
  • 5-10 lines of surrounding code :
    The error:
error: Error loading syntax file "Packages/MagicPython/grammars/MagicPython.tmLanguage": Error in regex: target of repeat operator is invalid in regex (?x)
  (.+?)
    (
      (?# .* and .*? in multi-line match need special handling of
        newlines otherwise SublimeText and Atom will match slightly
        differently.

        The guard 

Since the regex is very common in the tmlanguage I'm confused in ways to solve this...

Syntax is not highlighted((

Reacted by Javier Villavicencio, Andy Beaumont, Nitin Madnani, Guillaume Desvé and yellowsoar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions