login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
git
»
2008
»
November
»
10
Re: [PATCH] git send-email: edit recipient addresses with the --compose flag
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Ian Hilt <ian.hilt@...>
To: Junio C Hamano <gitster@...>
Cc: Francis Galiegue <fg@...>, Git Mailing List <git@...>, Pierre Habouzit <madcoder@...>
Subject:
Re: [PATCH] git send-email: edit recipient addresses with the --compose flag
Date: Monday, November 10, 2008 - 2:12 pm
On Mon, 10 Nov 2008, Junio C Hamano wrote:
quoted text
> Ian Hilt <ian.hilt@gmx.com> writes: >=20 > > On Sun, 9 Nov 2008, Junio C Hamano wrote: > >> Ian Hilt <ian.hilt@gmx.com> writes: > >>=20 > >> > On Sun, 9 Nov 2008, Francis Galiegue wrote: > >> >> Le Sunday 09 November 2008 13:59:48 Ian Hilt, vous avez =C3=A9crit=
=C2=A0:
quoted text
> >> >> > +=09if ($c_file =3D~ /^To:\s*+(.+)\s*\nCc:/ism) { > >> >>=20 > >> >> Greedy operators are only supported with perl 5.10 or more... I thi=
nk it's a=20
quoted text
> >> >> bad idea to use them... > >> ... > >> You expect something non-blank there anyway, so why not do: > >>=20 > >> =09To:\s*(\S.*?)\s*\n.... > > > > That works. Although, I seem to be missing Francis' point. According > > to perlre, a quantified subpattern is "greedy". So a "greedy operator" > > is any one of the standard quantified subpatterns. The "+" and "?" > > modify its matching behavior. And it seems to me that it _has_ to use =
a
quoted text
> > q.s. to work ... >=20 > The "perlre" documentation you are reading is from Perl 5.10.0; check > "perldelta" documentation next to it. >=20 > I think you are wrong in saying that "it _has_ to use". Yes, you _can_ > use possessive quantifiers to write that pattern (provided if you can > limit your users to Perl 5.10.0 or later), but you do _not_ have to (and =
I
quoted text
> just showed you how). By not using the new feature, you can make it work > for people with older version of Perl.
Right. I was saying it has to use quantifiers, in general, not that it has to use possessive quantifiers.
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH] git send-email: edit recipient addresses with the --...
, Ian Hilt
, (Sun Nov 9, 8:59 am)
Re: [PATCH] git send-email: edit recipient addresses with th...
, Francis Galiegue
, (Mon Nov 10, 3:57 am)
Re: [PATCH] git send-email: edit recipient addresses with th...
, Francis Galiegue
, (Mon Nov 10, 3:59 am)
Re: [PATCH] git send-email: edit recipient addresses with th...
, Francis Galiegue
, (Sun Nov 9, 10:13 am)
Re: [PATCH] git send-email: edit recipient addresses with th...
, Ian Hilt
, (Sun Nov 9, 4:09 pm)
Re: [PATCH] git send-email: edit recipient addresses with th...
, Tait
, (Mon Nov 10, 9:49 pm)
Re: [PATCH] git send-email: edit recipient addresses with th...
, Francis Galiegue
, (Tue Nov 11, 7:30 am)
Re: [PATCH] git send-email: edit recipient addresses with th...
, Ian Hilt
, (Tue Nov 11, 4:47 pm)
Re: [PATCH] git send-email: edit recipient addresses with th...
, Tait
, (Tue Nov 11, 6:14 pm)
Re: [PATCH] git send-email: edit recipient addresses with th...
, Francis Galiegue
, (Tue Nov 11, 4:53 pm)
Re: [PATCH] git send-email: edit recipient addresses with th...
, Ian Hilt
, (Tue Nov 11, 4:53 pm)
Re: [PATCH] git send-email: edit recipient addresses with th...
, Junio C Hamano
, (Sun Nov 9, 6:09 pm)
Re: [PATCH] git send-email: edit recipient addresses with th...
, Ian Hilt
, (Sun Nov 9, 8:38 pm)
Re: [PATCH] git send-email: edit recipient addresses with th...
, Francis Galiegue
, (Mon Nov 10, 3:49 am)
Re: [PATCH] git send-email: edit recipient addresses with th...
, Aristotle Pagaltzis
, (Mon Nov 10, 4:08 am)
Re: [PATCH] git send-email: edit recipient addresses with th...
, Junio C Hamano
, (Mon Nov 10, 1:18 am)
Re: [PATCH] git send-email: edit recipient addresses with th...
, Ian Hilt
, (Mon Nov 10, 2:12 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Alan
Re: [RFC] Heads up on sys_fallocate()
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Paul Mundt
Re: 2.6.22-rc4-mm2
git
:
openbsd-misc
:
linux-netdev
:
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
Re: [GIT]: Networking
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
Colocation donated by:
Who's online
There are currently
3 users
and
611 guests
online.
Online users
terytuk98
zvivered
cleanairexpert4
Syndicate