Project

General

Profile

Bug #614

Words with regex special characters fail on hover

Added by Luke Murphey almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
08/02/2013
Due date:
% Done:

100%


Description

Some words include special characters (such as "*") which causes a syntax error:

Uncaught SyntaxError: Invalid regular expression: /^*ʼωρομάσδης$/: Nothing to repeat

Steps to reproduce: go to http://127.0.0.1:8080/work/ad-principem-ineruditum/1/3 and highlight ʼωρομάσδης

Associated revisions

Revision 476 (diff)
Added by Luke Murphey almost 11 years ago

Fixed Javascript error caused when highlighting words with regular expression special characters. Closes #614.

Revision 476 (diff)
Added by Luke Murphey almost 11 years ago

Fixed Javascript error caused when highlighting words with regular expression special characters. Closes #614.

Revision 465 (diff)
Added by Luke Murphey almost 11 years ago

Fixed Javascript error caused when highlighting words with regular expression special characters. Closes #614.

History

#1 Updated by Luke Murphey almost 11 years ago

  • Description updated (diff)

#2 Updated by Luke Murphey almost 11 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset r476.

Also available in: Atom PDF