<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div>I'm writing a function to detect Japanese characters in a string.  I found this page:<br></div>
<div> </div>
<div><span class="size" style="font-size:13.3333339691162px"><a href="http://www.localizingjapan.com/blog/2012/01/20/regular-expressions-for-japanese-text/">http://www.localizingjapan.com/blog/2012/01/20/regular-expressions-for-japanese-text/</a></span><br></div>
<div> </div>
<div>So, for example, the example Perl regexp <span class="font" style="font-family: menlo, consolas, "courier new", monospace, sans-serif;">[\x{3041}-\x{3096}]</span> would detect Hiragana characters (as would <span class="font" style="font-family: menlo, consolas, "courier new", monospace, sans-serif;">\p{Hiragana}</span>).  How do I express such a Unicode range with Racket regexps?<br></div>
<div> </div>
<div>I looked at the docs below and it wasn't obvious to me how to do it.  In other languages there might be, for example, a <span class="font" style="font-family: menlo, consolas, "courier new", monospace, sans-serif;">\xnnnn</span> or <span class="font" style="font-family: menlo, consolas, "courier new", monospace, sans-serif;">\uxxxx</span> construct.<br></div>
<div> </div>
<div><a href="http://docs.racket-lang.org/reference/regexp.html#%28elem._%28rxex._30%29%29">http://docs.racket-lang.org/reference/regexp.html#%28elem._%28rxex._30%29%29</a><br></div>
<div> </div>
<div>--<br></div>
<div>Geoffrey S. Knauth | http://knauth.org/gsk<br></div>
<div> </div>
</body>
</html>