<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Hello, <br><br>Can someone kindly point me my mistake here in this code. I'm trying to search a file for 10000 OR 10001 (in python).<br><br>import re;<br><br>this= open("file", r)<br>for line in this:<br> if re.match('(10000)' | '(10001)', line)<br> print line<br><br>/*It doesn't give me any errors. However; doesn't find the 10000 OR 10001 */<br><br><br>thanks for your time<br>ak<br><br> </div></body>
</html>