Groups
Sign in
Groups
highlight.js
Conversations
About
Send feedback
Help
Swift is throwing an error (fix in body)
18 views
Skip to first unread message
Jaime Boyaca
unread,
Jan 23, 2018, 1:12:34 PM
1/23/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to highlight.js
Hi all,
swift is throwing this error due to incorrectly formatted text:
Uncaught SyntaxError: Invalid regular expression: /\b[A-Z][\wÀ-ʸ']*/: Range out of order in character class
In the JS it looks like:
b: "\\b[A-Z][\\wÀ-ʸ']*",
should be:
b: "\\b[A-Z][\\0-9']*",
Thanks!
Reply all
Reply to author
Forward
0 new messages