[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Sat, 13 Aug 2005 10:57:24 -0400 -->
- <!--x-from-r13: rfbgrevp ng 3gvzrf25.arg (Urbsserl) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: 1123891371.12776.0.camel@localhost -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Yet another regex question -->
- <li><em>date</em>: Sat, 13 Aug 2005 10:57:24 -0400</li>
- <li><em>from</em>: esoteric at 3times25.net (Geoffrey)</li>
- <li><em>in-reply-to</em>: <<a href="msg00133.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00130.html">[email protected]</a>> <1123891371.12776.0.camel@localhost> <<a href="msg00132.html">[email protected]</a>> <<a href="msg00133.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] Yet another regex question</li>
Look at the problem the other way around. Try NOT catching '% XMI001'.
That is, try producing a regex that will catch '% XMI001' in order to
ignore it.
(perl)
/% / && next;
Often times folks try to put too much into a single regex. If you need
more than one, use it. It's fun to come up with long complex regex's,
but they are rough 2 years later when you're looking at the code again.
--
Until later, Geoffrey
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00130" href="msg00130.html">[ale] Yet another regex question</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
<li><strong><a name="00131" href="msg00131.html">[ale] Yet another regex question</a></strong>
<ul><li><em>From:</em> jimpop at yahoo.com (Jim Popovitch)</li></ul></li>
<li><strong><a name="00132" href="msg00132.html">[ale] Yet another regex question</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
<li><strong><a name="00133" href="msg00133.html">[ale] Yet another regex question</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Christopher Fowler)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00142.html">[ale] Yet another regex question</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00144.html">[ale] ThinkPad sound working</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00139.html">[ale] Yet another regex question</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00154.html">[ale] Yet another regex question</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00143"><strong>Date</strong></a></li>
<li><a href="threads.html#00143"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>