<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com/group/regex</id>
  <title type="text">Regex Google Group</title>
  <subtitle type="text">
  Discussing Regular Expressions in variuos tools (perl, php, egrep, PowerGREP, .NET, procmail etc. etc). Let&#39;s help each other build effective regexes!
  </subtitle>
  <link href="/group/regex/feed/atom_v1_0_msgs.xml" rel="self" title="Regex feed"/>
  <updated>2009-11-10T10:31:02Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Eugeny Sattler</name>
  <email>eugeny.satt...@gmail.com</email>
  </author>
  <updated>2009-11-10T10:31:02Z</updated>
  <id>http://groups.google.com/group/regex/browse_thread/thread/f02a6d9a3f943166/b3e3fc766bbc0ce1?show_docid=b3e3fc766bbc0ce1</id>
  <link href="http://groups.google.com/group/regex/browse_thread/thread/f02a6d9a3f943166/b3e3fc766bbc0ce1?show_docid=b3e3fc766bbc0ce1"/>
  <title type="text">Re: Find Hex number</title>
  <summary type="html" xml:space="preserve">
  Nope. [^0x1f] will be treated as any symbol which is not a zero, not a &lt;br&gt; literal &amp;quot;x&amp;quot;, not 1 and not &amp;quot;f&amp;quot; &lt;br&gt; [^\x1F] is the right syntax for what you meant. &lt;br&gt; 1st approach &lt;br&gt; Check if 1F is present. And if it is present do nothing. Else do what you need. &lt;br&gt; 2nd approach: &lt;br&gt; ^[^\x1F]*$ &lt;br&gt; will match a set of symbols each and every of them is not 1F
  </summary>
  </entry>
  <entry>
  <author>
  <name>Затлер Евгений Викторович</name>
  <email>eugenysatt...@gmail.com</email>
  </author>
  <updated>2009-11-10T10:07:30Z</updated>
  <id>http://groups.google.com/group/regex/browse_thread/thread/f02a6d9a3f943166/390b665e5851cbb8?show_docid=390b665e5851cbb8</id>
  <link href="http://groups.google.com/group/regex/browse_thread/thread/f02a6d9a3f943166/390b665e5851cbb8?show_docid=390b665e5851cbb8"/>
  <title type="text">Re: Find Hex number</title>
  <summary type="html" xml:space="preserve">
  1) closing bracket incorrect. should be } &lt;br&gt; 2) .{2,} construct allows any symbol to be repeated 3 times or 5 &lt;br&gt; times, i.e. uneven number of times. This should be forbidden in this &lt;br&gt; case. &lt;br&gt; So, I suggest &lt;br&gt; ^([0-9a-z][0-9a-z])*8F([0-9a-z ][0-9a-z])*$
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ross Presser</name>
  <email>rpres...@gmail.com</email>
  </author>
  <updated>2009-11-09T14:37:48Z</updated>
  <id>http://groups.google.com/group/regex/browse_thread/thread/bb3b86683da36941/8eda255489735ffc?show_docid=8eda255489735ffc</id>
  <link href="http://groups.google.com/group/regex/browse_thread/thread/bb3b86683da36941/8eda255489735ffc?show_docid=8eda255489735ffc"/>
  <title type="text">Re: Help with inverse of regular expression</title>
  <summary type="html" xml:space="preserve">
  For xml manipulation, you&#39;re better off with an xml library than &lt;br&gt; trying to reinvent one based on regex.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ashmath Khan</name>
  <email>hashmat.em...@gmail.com</email>
  </author>
  <updated>2009-11-08T10:59:41Z</updated>
  <id>http://groups.google.com/group/regex/browse_thread/thread/f02a6d9a3f943166/5cb24effad4ba083?show_docid=5cb24effad4ba083</id>
  <link href="http://groups.google.com/group/regex/browse_thread/thread/f02a6d9a3f943166/5cb24effad4ba083?show_docid=5cb24effad4ba083"/>
  <title type="text">Re: Find Hex number</title>
  <summary type="html" xml:space="preserve">
  Thanks. &lt;br&gt; How do I find if a particular character is not present in a string ? &lt;br&gt; If I use [^0x1f] it would mean any character other than 1f. How do write a &lt;br&gt; RE which would mean if 1f is not present ? In other words if the patter 1f &lt;br&gt; is not matched. &lt;br&gt; &lt;p&gt;thanks &lt;br&gt; Ashmath
  </summary>
  </entry>
  <entry>
  <author>
  <name>inhahe</name>
  <email>inh...@gmail.com</email>
  </author>
  <updated>2009-11-08T07:40:53Z</updated>
  <id>http://groups.google.com/group/regex/browse_thread/thread/f02a6d9a3f943166/cd4dbfb5cfbf943d?show_docid=cd4dbfb5cfbf943d</id>
  <link href="http://groups.google.com/group/regex/browse_thread/thread/f02a6d9a3f943166/cd4dbfb5cfbf943d?show_docid=cd4dbfb5cfbf943d"/>
  <title type="text">Re: Find Hex number</title>
  <summary type="html" xml:space="preserve">
  hmm, maybe this &lt;br&gt; &lt;p&gt;.{2]*?8F.*
  </summary>
  </entry>
  <entry>
  <author>
  <name>Hashmat</name>
  <email>hashmat.em...@gmail.com</email>
  </author>
  <updated>2009-11-07T17:55:09Z</updated>
  <id>http://groups.google.com/group/regex/browse_thread/thread/f02a6d9a3f943166/8452de93139a5162?show_docid=8452de93139a5162</id>
  <link href="http://groups.google.com/group/regex/browse_thread/thread/f02a6d9a3f943166/8452de93139a5162?show_docid=8452de93139a5162"/>
  <title type="text">Find Hex number</title>
  <summary type="html" xml:space="preserve">
  Hello, &lt;br&gt; &lt;p&gt;Suppose I have this hex input: &amp;quot;78FE8909CD&amp;quot; etc &lt;br&gt; &lt;p&gt;Can somebody please let me know what should be the RE to find a &lt;br&gt; particular byte ? &lt;br&gt; &lt;p&gt;Say I want to find 8F from the above input ? &lt;br&gt; RE should return false, because 8F is not found as a byte because the &lt;br&gt; bytes would be:7F, FE, 89, etc &lt;br&gt; &lt;p&gt;Is is possible to find this using RE ?
  </summary>
  </entry>
  <entry>
  <author>
  <name>jax</name>
  <email>jackma...@gmail.com</email>
  </author>
  <updated>2009-11-07T02:29:57Z</updated>
  <id>http://groups.google.com/group/regex/browse_thread/thread/bb3b86683da36941/22588afc0712aca2?show_docid=22588afc0712aca2</id>
  <link href="http://groups.google.com/group/regex/browse_thread/thread/bb3b86683da36941/22588afc0712aca2?show_docid=22588afc0712aca2"/>
  <title type="text">Re: Help with inverse of regular expression</title>
  <summary type="html" xml:space="preserve">
  The problem is that I actually want the &amp;lt;def&amp;gt; tags. I am editing a &lt;br&gt; Pearl script but don&#39;t know how perl works properly. I have changed &lt;br&gt; it to my liking but need to strip all non &amp;lt;def&amp;gt; tags out of the &lt;br&gt; document. I want to do a find and replace on all non &amp;lt;def&amp;gt; tags. &lt;br&gt; Script below. &lt;br&gt; &lt;p&gt;use CGI qw (param escape);
  </summary>
  </entry>
  <entry>
  <author>
  <name>Eugeny.Sattler@gmail.com</name>
  <email>eugeny.satt...@gmail.com</email>
  </author>
  <updated>2009-11-06T08:52:38Z</updated>
  <id>http://groups.google.com/group/regex/browse_thread/thread/bb3b86683da36941/6bb8d187430a94ba?show_docid=6bb8d187430a94ba</id>
  <link href="http://groups.google.com/group/regex/browse_thread/thread/bb3b86683da36941/6bb8d187430a94ba?show_docid=6bb8d187430a94ba"/>
  <title type="text">Re: Help with inverse of regular expression</title>
  <summary type="html" xml:space="preserve">
  Hm... how about deleting all def tags and their contents and storing &lt;br&gt; the remainder into the result variable? &lt;br&gt; &lt;p&gt;By the way, if you have nested def tags your regex may turn to be &lt;br&gt; imperfect.
  </summary>
  </entry>
  <entry>
  <author>
  <name>jax</name>
  <email>jackma...@gmail.com</email>
  </author>
  <updated>2009-11-05T15:49:47Z</updated>
  <id>http://groups.google.com/group/regex/browse_thread/thread/bb3b86683da36941/38ed67339226abcb?show_docid=38ed67339226abcb</id>
  <link href="http://groups.google.com/group/regex/browse_thread/thread/bb3b86683da36941/38ed67339226abcb?show_docid=38ed67339226abcb"/>
  <title type="text">Help with inverse of regular expression</title>
  <summary type="html" xml:space="preserve">
  I have a working regex that selects all &amp;lt;def&amp;gt;...&amp;lt;/def&amp;gt; tags. &lt;br&gt; &lt;p&gt;&amp;lt;def\b[^&amp;gt;]*&amp;gt;(.*?)&amp;lt;/def&amp;gt; &lt;br&gt; &lt;p&gt;The problem is that I want to select everything other than the def &lt;br&gt; tags and their contents. How would I go about this?
  </summary>
  </entry>
  <entry>
  <author>
  <name>SpaceMarine</name>
  <email>spacemar...@mailinator.com</email>
  </author>
  <updated>2009-11-05T21:19:01Z</updated>
  <id>http://groups.google.com/group/regex/browse_thread/thread/bbde812ef5fa46a0/140739109eeef929?show_docid=140739109eeef929</id>
  <link href="http://groups.google.com/group/regex/browse_thread/thread/bbde812ef5fa46a0/140739109eeef929?show_docid=140739109eeef929"/>
  <title type="text">Re: regex for.. well, anything?</title>
  <summary type="html" xml:space="preserve">
  impossible in this scenario. thus my post :) &lt;br&gt; &lt;p&gt;\S sounds like the winner. &lt;br&gt; &lt;p&gt;thanks! &lt;br&gt; sm
  </summary>
  </entry>
  <entry>
  <author>
  <name>Eugeny.Sattler@gmail.com</name>
  <email>eugeny.satt...@gmail.com</email>
  </author>
  <updated>2009-11-05T10:48:31Z</updated>
  <id>http://groups.google.com/group/regex/browse_thread/thread/f57aec91082c65ba/04f4f0ce4800497a?show_docid=04f4f0ce4800497a</id>
  <link href="http://groups.google.com/group/regex/browse_thread/thread/f57aec91082c65ba/04f4f0ce4800497a?show_docid=04f4f0ce4800497a"/>
  <title type="text">Re: JavaScript RegEx Parse Command Line into Array</title>
  <summary type="html" xml:space="preserve">
  The nut is cracked! Still it is two step check. Judge yourself if it &lt;br&gt; is terse or not :) &lt;br&gt; &lt;p&gt;1. The main regex. &lt;br&gt; Most of the examples including listed below &lt;br&gt; &lt;p&gt;keyword:model train locomotive &lt;br&gt; keyword:redline &lt;br&gt; sellerid:allwheels2go &lt;br&gt; keyword:truck sellerid:allwheels2go &lt;br&gt; keyword:model train locomotive minbid:1
  </summary>
  </entry>
  <entry>
  <author>
  <name>Eugeny Sattler</name>
  <email>eugeny.satt...@gmail.com</email>
  </author>
  <updated>2009-11-05T07:39:59Z</updated>
  <id>http://groups.google.com/group/regex/browse_thread/thread/bbde812ef5fa46a0/b590208b0a1a9412?show_docid=b590208b0a1a9412</id>
  <link href="http://groups.google.com/group/regex/browse_thread/thread/bbde812ef5fa46a0/b590208b0a1a9412?show_docid=b590208b0a1a9412"/>
  <title type="text">Re: regex for.. well, anything?</title>
  <summary type="html" xml:space="preserve">
  Fist of all i think it is easier to check without regexes using &lt;br&gt; built-in functions like IsEmpty() function or logical &amp;quot;is Not NULL&amp;quot; &lt;br&gt; check &lt;br&gt; Calling for regex library will take additional time. &lt;br&gt; As for regex approach: &lt;br&gt; 1) I think a presence of non-space character is a sign that the field &lt;br&gt; contains a value.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Jaye</name>
  <email>jspe...@yahoo.com</email>
  </author>
  <updated>2009-11-04T20:27:25Z</updated>
  <id>http://groups.google.com/group/regex/browse_thread/thread/f57aec91082c65ba/8fd644ff38547cfb?show_docid=8fd644ff38547cfb</id>
  <link href="http://groups.google.com/group/regex/browse_thread/thread/f57aec91082c65ba/8fd644ff38547cfb?show_docid=8fd644ff38547cfb"/>
  <title type="text">JavaScript RegEx Parse Command Line into Array</title>
  <summary type="html" xml:space="preserve">
  I need a javascript method that will parse a command line instruction &lt;br&gt; into an array of pairs. The method should utilize the javascript &lt;br&gt; String.match or other regular expression enabled methods to implement &lt;br&gt; the parse. The regex should be implemented in a very terse &lt;br&gt; instruction. The deliverable for this project is a terse javascript
  </summary>
  </entry>
  <entry>
  <author>
  <name>SpaceMarine</name>
  <email>spacemar...@mailinator.com</email>
  </author>
  <updated>2009-11-04T18:54:34Z</updated>
  <id>http://groups.google.com/group/regex/browse_thread/thread/bbde812ef5fa46a0/3425e1805c2feab8?show_docid=3425e1805c2feab8</id>
  <link href="http://groups.google.com/group/regex/browse_thread/thread/bbde812ef5fa46a0/3425e1805c2feab8?show_docid=3425e1805c2feab8"/>
  <title type="text">regex for.. well, anything?</title>
  <summary type="html" xml:space="preserve">
  hello, &lt;br&gt; &lt;p&gt;im a seasoned programmer but a regex newb. ive read some excellent &lt;br&gt; tutorials over the years, but i still often find myself starting all &lt;br&gt; over with baby steps when it comes to regexes. dunno why. &lt;br&gt; &lt;p&gt;i need to plug in a regex into a software tool that validates a &lt;br&gt; string. for this particular string, i dont care *what* the value is,
  </summary>
  </entry>
  <entry>
  <author>
  <name>SpaceMarine</name>
  <email>spacemar...@mailinator.com</email>
  </author>
  <updated>2009-11-04T18:51:33Z</updated>
  <id>http://groups.google.com/group/regex/browse_thread/thread/ad876d5484c3b2cf/0d290d028ea94096?show_docid=0d290d028ea94096</id>
  <link href="http://groups.google.com/group/regex/browse_thread/thread/ad876d5484c3b2cf/0d290d028ea94096?show_docid=0d290d028ea94096"/>
  <title type="text">Re: newbie question</title>
  <summary type="html" xml:space="preserve">
  thanks! &lt;br&gt; &lt;p&gt;On Oct 30, 4:01 am, &amp;quot;Eugeny.Satt...@gmail.com&amp;quot;
  </summary>
  </entry>
</feed>
