Quote:
Originally Posted by Ephemerality
No luck on it so far. Not sure why it wouldn't have worked with adding the aliases, maybe an encoding issue. I used Notepad++ for doing mine and it seemed to work alright.
The main issue I'm running into is that words don't always have a single soft hyphen in them, sometimes they have 2 or 3. Unless I can come up with a fancy regular expression that can match the word and still work properly with the HTML-parsing library I'm using, I'm not sure what else I can do.
The only other thing I can think of is to brute-force it by searching every possible combination of position and amount of soft hyphens in every term, but that seems a bit excessive.
If anyone has a simpler solution I'm all ears.
|
I'll try saving it in something other than Notepad, then.
EDIT: Awww yis, that worked perfectly. I opened it with Sublime Text and saved as UTF-8 instead of Western that Notepad uses. Thank you SO MUCH!