http://qs1969.pair.com?node_id=350114


in reply to regular expression-xerox

If your character classes have any character ranges in it, then you are going to have to make sure that you account for that. For example if you have "A-D" then you will want to convert that to "(?:A|B|C|D)" and not "(?:A|-|D)".