Neil
unread,May 31, 2010, 11:30:31 PM5/31/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to creoleparser
I'm using creoleparser as part of a tool that converts from creole to
latex. Single dollars are used to wrap math, e.g. $12 + 34$. I don't
need to parse this (just pass it on directly to latex), but I don't
want anything inside to be parsed.
I can do this easily using NoWikiElement. But a minor issue is that an
escaped dollar, i.e. \$, does not signify the start of math mode. So
I'd like the regular expression to only match a dollar not preceded by
a \.
Is there a good way to do this? My current thought is to use another
element type to look for escaped dollars and swallow them first, but I
feel like I'm missing an easier solution.
Thanks!
Neil