using the r'...' helps. Thanks a lot.<br><br><div><span class="gmail_quote">On 5/2/06, <b class="gmail_sendername">Jani Hakala</b> <<a href="mailto:jahakala@cc.jyu.fi">jahakala@cc.jyu.fi</a>> wrote:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
"Yuan Mang" <<a href="mailto:mangyuan@gmail.com">mangyuan@gmail.com</a>> writes:<br><br>> sorry I actually used<br>> t=re.search('(\d+)','-2.80 98\n').groups()<br>><br>> and this works in python. but still not in pyrex.
<br>><br>Perhaps r'(\d+)' works or \\d instead of \d.<br><br>Jani Hakala<br></blockquote></div><br>