<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Felix,<br><br>the normal escape character is the backslash \.<br>See also <br><a href="http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html" target="_blank">http://docs.oracle.com/javase/7/docs/api/java/util/regex/Pattern.html</a><br><br>Gerd<br><br><div>> Date: Mon, 28 Jul 2014 10:33:25 +0200<br>> From: extremecarver@gmail.com<br>> To: mkgmap-dev@lists.mkgmap.org.uk<br>> Subject: [mkgmap-dev] How can I test if "(" or ")" is part of name<br>> <br>> I have a problem that I cannot escape brackets when trying to find out <br>> if they are part of the name...<br>> <br>> name ~ '.*(' { }<br>> is not working of course. However ^ is not able to escape a bracket...<br>> name ~ '.*^(' { }<br>> <br>> <br>> Is there any way to find out if there is a () in a name?<br>> (the reason for this is that I want to know in Japan if the name is only <br>> in Japanese, or in Japanese (English).<br>> <br>> -- <br>> keep on biking and discovering new trails<br>> <br>> Felix<br>> openmtbmap.org & www.velomap.org<br>> <br>> _______________________________________________<br>> mkgmap-dev mailing list<br>> mkgmap-dev@lists.mkgmap.org.uk<br>> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br></div>                                            </div></body>
</html>