Writing a regex in Latex
Posted
by Harm De Weirdt
on Stack Overflow
See other posts from Stack Overflow
or by Harm De Weirdt
Published on 2010-03-27T09:50:30Z
Indexed on
2010/03/27
9:53 UTC
Read the original article
Hit count: 445
Hello everyone. In a Latex Report I am making I have to write a regex. There is only one in the whole report, so I don't really want to use packages and so on. This is the regex I am talking about:
^\"((\w|\s)+)\"$
I came up with this for Latex:
\grave{ }\backslash\"'((\backslash w\| \backslash s)+)\backslash \"' \backslash \$
This gives me like 10 errors, and I can't really see what is wrong. Okay, it looks pretty bad but all the commands should work..
Thanks in advance,
Harm
© Stack Overflow or respective owner