Open ajwsert opened 7 years ago
Hi @ajwsert,
Thanks for raising this issue.
Looking at the above information is does not appear to be related to the wordpress-api
package.
No problem @azizur, however, huh, that's weird because that issue is raised when changing the file syntax to Wordpress, no other plugin or syntax does it. Maybe I forgot some info in that report? I just pasted what was copied by clicking Copy button in that error popup in Atom. By the way, selecting that as syntax seems to do nothing (nothing changes in syntax) beside raising that error.
The stack trace does not appear to indicate an issue with this plugins.
Hmm, I see. Alright, I'll try to see what could be triggering it, maybe it was just coincidence with this plugin.
Hello @azizur! This is definitely an issue with wordpress-api, even though the stack trace doesn't indicate so. This error occurs when one of the language patterns has an invalid repeat quantifier. For example, the very simple regex ?
would trigger this error. Other examples might include (?=a)*
, \\b+
, etc. Please check your regexes to make sure this isn't happening.
[Enter steps to reproduce below:]
Atom Version: 1.12.5 Electron Version: 1.3.9 System: Windows 7 Thrown From: Atom Core
Stack Trace
Uncaught Error: target of repeat operator is not specified
Commands
Config
Installed Packages