1. One or more tangible computer-readable storage media that store executable instructions to divide an input into segments, wherein the instructions, when executed by a computer, cause the computer to perform acts comprising: representing one or more segment breaking rules in a first regular expression; combining a plurality of exceptions to said one or more segment breaking rules disjunctively into a second regular expression, said second regular expression being distinct from said first regular expression; finding first strings in said input that match said second regular expression; replacing said first strings with placeholders to create a second string, wherein said second string comprises said input but with said placeholders in place of said first strings; subsequent to said finding and said replacing, using said first regular expression to detect segment break points in said second string; and subsequent to detecting said segment break points, replacing said placeholders in said second string with said first strings.
5. The one or more tangible computer-readable storage media of claim 1 , wherein a first one of said exceptions has either a before rule or an after rule, but not both, and wherein said first one of said exceptions is included in said second regular expression as a regular expression that contains said before rule or said after rule.