plberg / cs373-idb

Project 3 (IDB) for CS 373: Software Engineering
0 stars 1 forks source link

Search highlight fails #99

Closed jabrouwer82 closed 9 years ago

jabrouwer82 commented 9 years ago

Search crimes for 'exposure'.

It seems this is caused by search terms showing up too close together in the source.

jabrouwer82 commented 9 years ago

Got it, regex 2 skips right over the first mark tag, regex 3 does the same for closing mark tags. This will be complicated to fix.

jabrouwer82 commented 9 years ago

Doing a substring search, and if the index is less than 20, perform a different regex substitution

jabrouwer82 commented 9 years ago

Oops, I though I marked this resolved. Oh well.

Relevant xkcd's: https://xkcd.com/208/ https://xkcd.com/1171/