bradymiller/openemr — comment on commit 87e1c13be89a39e4921c53e6db7a241ae7403f18
File: library/sanitize.inc.php line 15
By yehster:

Ahhh.. makes sense, since you need to be able to escape "-" to not mean character range. Not sure why it wouldn't be \- (single escaping backslash) instead of \\- I'm relatively new to the regular expression scene...