GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ST4 loading error: Error in regex · Issue #242 · MagicStack/MagicPython

ST4 loading error: Error in regex #242

New issue
Copy link
New issue
Copy link
Open
Open
ST4 loading error: Error in regex#242
Copy link

Description

@Levitanus
Levitanus
opened on Oct 31, 2021
Issue body actions
  • 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

Activity

  1. ni-max
    added a commit that references this issue on Nov 22, 2021

    Fix / Workaround for: Error in regex: target of repeat operator is in…

    This issue will close once commit e8314c6 is merged into the 'master' branch.
    e8314c6
  2. ni-max commented on Nov 22, 2021

    @ni-max
    ni-max
    on Nov 22, 2021
    More actions

    @Levitanus check my pull request for the fix.

    Please post an issue to the upstream, I believe this is a bug in SublimeText 4 since I've seen this error in other packages as well.

  3. Levitanus commented on Nov 24, 2021

    @Levitanus
    Levitanus
    on Nov 24, 2021
    Author
    More actions

    @ni-max , Thank You, I'll try to check tomorrow, too much work outside the PC...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.