Yikes thank's for that article I had not thought through all the possibilities. I will have to see how bad the 18-cell fix I made to liblouis will affect all the things in your article. I guess it is good that my context rule for that has not been applied. We currently have a problem with stuff like 18-cell or 23-doughnuts but I don't want to break anything else when I fix it. The current rule I am using breaks if someone puts in more than 1 dash. This is a mess. Ken -----Original Message----- From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx [mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of Susan Jolly Sent: Sunday, October 27, 2013 2:44 PM To: liblouis-liblouisxml@xxxxxxxxxxxxx Subject: [liblouis-liblouisxml] Re: Regex question Thanks Ken. I understand you need a simple notation if, for example, a rule applies to three or more adjacent hyphens. You also mentioned groups. Regex groups are very powerful and might be the best alternative but, on the other hand, I must admit it took me more than five minutes to get comfortable with them. You've given me an opening to link to my article about the difficulties of dealing with hyphens in English braille: http://www.dotlessbraille.org/hyphens.htm Thanks again for the clarification. Susan For a description of the software, to download it and links to project pages go to http://www.abilitiessoft.com For a description of the software, to download it and links to project pages go to http://www.abilitiessoft.com