Re: OT regex question. Sorrry!
Martin Thomas <[email protected]> Tue, 18 Jun 2013 08:48:58 -0500
| Newsgroups | gmane.mail.spam.crm114 |
|---|---|
| Message-ID | <CAJQLUGOkQsSMQwa30QGyPTZiYvSwNymb0aGSuKRZ4TZGL9HG1g@mail.gmail.com> |
--===============8827239423203820281== Content-Type: multipart/alternative; boundary=e89a8fb1ea3092747104df6df9e2 --e89a8fb1ea3092747104df6df9e2 Content-Type: text/plain; charset=UTF-8 Reading Eric's regex - ^NFG\s\FOAD$ - and wondering what \F does? Even if the backslash before the F is removed, it will only match if the entire inout is 8 characters including a siongle space. Maybe it should be ^NFG\s+FOAD$ ? Apologies if I am reading this out of context. Regards, Martin On Mon, Jun 17, 2013 at 5:14 PM, Eric d'Halibut <[email protected]>wrote: > On 6/17/13, [email protected] <[email protected]> wrote: > > > However, I'm surprised that NFG\sFOAD didn't work. > > In that form, somewhat simpler than what I tried, it does work! > > I had been using, iirc, > > ^NFG\s\FOAD$ > > Needless to add, I will continue to futz with this! And, just for the > record and full disclosure and all that, I am running mailfilter. > (That's right...one of the dweebs who wanted "black-" and "white-" > lists. Oh welll.) > > Thanks! > -- > No no no, my fish's name is Eric, Eric the fish. He's an halibut. I am > not a looney! Why should I be tarred with the epithet looney merely > because I have a pet halibut? > > http://trollboy.thruhere.net:8080/MontyPython/fish.htm > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Crm114-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/crm114-general > --e89a8fb1ea3092747104df6df9e2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div><div>Reading Eric's regex=C2=A0 - ^NFG\s\FOAD$ - = and wondering what \F does? Even if the backslash before the F is removed, = it will only match if the entire inout is 8 characters including a siongle = space.=C2=A0 Maybe it should be ^NFG\s+FOAD$=C2=A0 ? Apologies if I am read= ing this out of context.<br> <br></div>Regards,<br></div>Martin<br></div><div class=3D"gmail_extra"><br>= <br><div class=3D"gmail_quote">On Mon, Jun 17, 2013 at 5:14 PM, Eric d'= Halibut <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" tar= get=3D"_blank">[email protected]</a>></span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"><div class=3D"im">On 6/17/13, <a href=3D"mai= lto:[email protected]">[email protected]</a> <<a href=3D"mailto:[email protected]">wsy@= merl.com</a>> wrote:<br> <br> > However, I'm surprised that NFG\sFOAD didn't work.<br> <br> </div>In that form, somewhat simpler than what I tried, it does work!<br> <br> I had been using, iirc,<br> <br> ^NFG\s\FOAD$<br> <br> Needless to add, I will continue to futz with this! And, just for the<br> record and full disclosure and all that, I am running mailfilter.<br> (That's right...one of the dweebs who wanted "black-" and &qu= ot;white-"<br> lists. Oh welll.)<br> <br> Thanks!<br> <div class=3D"im HOEnZb">--<br> No no no, my fish's name is Eric, Eric the fish. He's an halibut. I= am<br> not a looney! Why should I be tarred with the epithet looney merely<br> because I have a pet halibut?<br> <br> <a href=3D"http://trollboy.thruhere.net:8080/MontyPython/fish.htm" target= =3D"_blank">http://trollboy.thruhere.net:8080/MontyPython/fish.htm</a><br> <br> </div><div class=3D"HOEnZb"><div class=3D"h5">-----------------------------= -------------------------------------------------<br> This SF.net email is sponsored by Windows:<br> <br> Build for Windows Store.<br> <br> <a href=3D"http://p.sf.net/sfu/windows-dev2dev" target=3D"_blank">http://p.= sf.net/sfu/windows-dev2dev</a><br> _______________________________________________<br> Crm114-general mailing list<br> <a href=3D"mailto:[email protected]">Crm114-general@list= s.sourceforge.net</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/crm114-general" tar= get=3D"_blank">https://lists.sourceforge.net/lists/listinfo/crm114-general<= /a><br> </div></div></blockquote></div><br></div> --e89a8fb1ea3092747104df6df9e2-- --===============8827239423203820281== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev --===============8827239423203820281== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Crm114-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/crm114-general --===============8827239423203820281==--