develooper Front page | perl.golf | Postings from June 2007

Re: regexp quickie

Thread Previous | Thread Next
From:
Shlomi Fish
Date:
June 28, 2007 02:30
Subject:
Re: regexp quickie
Message ID:
200706281229.43798.shlomif@iglu.org.il
On Thursday 28 June 2007, Phil Carmody wrote:
> --- Roy.Johnson@shell.com wrote:
> > Mine (borrowing RJK's testing code): $1 will be the last letter
> > (non-underscore) before or at the target location; $2 will be the first
> > letter at or after the target location, or the last letter if no such
> > letter exists.
> >
> > for (qw/ A_Z_K_ A_____ _____K /) {
> >   print "$_\n";
> >   for my $n (1 .. 6) {
> >     my $r = $n - 1;
> >     print "$n: ";
> >     print /^(?=.{0,$r}([^_]))?.{0,$r}.*?([^_])/
> >       ? "[$1] ($2)" : "no match";
> >     print "\n";
> >   }
> > }
>
> You guys amaze me! (And gals, too, in case Abigail reads this list. In
> which case she might reduce that it is for RoRoRo's EinStein bot!)
>

Sorry to disappoint you but Abigail is a guy (at least in the context of 
Perl):

{{{{{{{{{
Sep 18 22:11:57 <rindolf>	fxn: Abigail is a guy, right?
Sep 18 22:12:23 <Yaakov>	Abigail is a very Dutch, very male person.
Sep 18 22:12:35 <fxn>	rindolf: yes
Sep 18 22:13:49 <rindolf>	fxn: is Abigail his psedonym?
Sep 18 22:14:25 <fxn>	rindolf: I don't know, his name in the conference was 
Abigail
Sep 18 22:14:51 <fxn>	rindolf: that's a picture by cog: 
http://www.flickr.com/photos/cogurov/42641335/in/photostream/
Sep 18 22:14:52 <shorten>	fxn's url is at http://xrl.us/hnmc
}}}}}}}}}

It is indeed a feminine name, though, at least in its Hebrew origin:

http://en.wikipedia.org/wiki/Abigail

Regards,

	Shlomi Fish

> Phil
>
> ()  ASCII ribbon campaign      ()    Hopeless ribbon campaign
> /\    against HTML mail        /\  against gratuitous bloodshed
>
> [stolen with permission from Daniel B. Cristofani]
>
>
>
> ___________________________________________________________________________
>_________ Building a website is a piece of cake. Yahoo! Small Business gives
> you all the tools to get online. http://smallbusiness.yahoo.com/webhosting



-- 

---------------------------------------------------------------------
Shlomi Fish      shlomif@iglu.org.il
Homepage:        http://www.shlomifish.org/

If it's not in my E-mail it doesn't happen. And if my E-mail is saying
one thing, and everything else says something else - E-mail will conquer.
    -- An Israeli Linuxer

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About