Changes between Version 1 and Version 2 of Ticket #32319, comment 23


Ignore:
Timestamp:
Apr 13, 2024, 9:08:43 AM (5 months ago)
Author:
Michael

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #32319, comment 23

    v1 v2  
    1313import {BaseComponent as g} from "/static/wcapp/jsapp/wc-base.min.425310100bce.js";
    1414}}}
     15
     16
     17This regex fixes it:
     18{{{
     19            (
     20                r"""(?P<matched>(?P<import_as>import\s*\*as\s\S)+\s+from\s*["'](?P<url>[./].*?)["']\s*;)""",
     21                """%(import_as)s from "%(url)s";""",
     22            ),
     23}}}
Back to Top