> Well, the patch of course solves the specific issue with > pipes--thanks. But when I tested some other patterns, I see that the > function as a whole is still not perfect. For instance, embedded dots > (periods) are removed from $regex, so that a phrase with a dot (like > "possible. This") doesn't highlight: > http://wiki.splitbrain.org/wiki:syntax?s=possible%5C.%20this > The same happens with other removed characters (like "png?50"): > http://wiki.splitbrain.org/wiki:syntax?s=png%5C%3F50 Okay I redid the whole highlighting thing again. Now it should work for all phrases. I hope I haven't broken something else again. Andi -- http://www.splitbrain.org