• Resolved davidjennes

    (@davidjennes)


    There seem to be a few issues in the latest versions when I try to edit a contact form, when using Safari (13.1.2 on macOS 10.15.6).

    The error is always this one:

    SyntaxError: Invalid regular expression: invalid group specifier name

    With CF7 Smart Grid extension 4.1.2, I was getting the error for line 255:

    regex = /(?<=\/\*)(.*?)(?=\s?\*\/)/im;

    With version 4.1.4, I’m getting an error at line 354:

    helper = helper.replace(/^\n?\s*?\/\/.*\n?/gmi,”).replace(/(?<=.*)\n$/

    This issue relates to Grid Not Working Since Update, but created a separate topic as requested.

    • This topic was modified 5 years, 8 months ago by davidjennes.
    • This topic was modified 5 years, 8 months ago by davidjennes.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Safari browser JavaScript regex error’ is closed to new replies.