[regex-coach] Negative look behind assertion pb

Laurent TAUPIAC ltaupiac at lfdj.com
Wed Oct 11 14:47:53 UTC 2006



i have the pb with 0.8.5.

John Clements a écrit :
>
> I get the expected result in Regex Coach 0.6.7 :
> UAAAAAYYYAAAAAA
>
> I just copy/pasted the values you gave into Regex Coach and ticked "g".
>
>
> At 11:15 11/10/2006, you wrote:
>
>> The goal. Replace all vowels but Y and but first car with a A
>> Eg
>> For target string
>> UUUIIIYYYOOOEEE
>> Result expected
>> UAAAAAYYYAAAAAA
>>
>>
>> In regexpCoach
>>
>> RegExp used to do that
>> (?<!^)[EIOU]
>> Target string
>> UUUIIIYYYOOOEEE
>> Replacement string
>> A
>> Result
>> UAUAIAYYYAOAEAE
>>
>>
>> (?<!^)[EIOU] for me mean
>> match any E I O U when not preceded by start of string
>>
>>
>> May be a bug or i missed something ?
>>
>>
>


-- 





---------------------------------------------------------------------
Sorry, This disclamer is auto added by FW's company
---------------------------------------------------------------------



























Si vous n'etes pas destinataires de ce message, merci d'avertir l'expediteur de l'erreur de distribution et de le detruire immediatement.
Ce message contient des informations confidentielles ou appartenant a La Francaise des Jeux. Il est etabli a l'intention exclusive de ses destinataires. Toute divulgation, utilisation, diffusion ou reproduction (totale ou partielle) de ce message ou des informations qu'il contient, doit etre prealablement autorisee.
Tout message electronique est susceptible d'alteration et son integrite ne peut etre assuree. La Francaise des Jeux decline toute responsabilite au titre de ce message s'il a ete modifie ou falsifie.

If you are not the intended recipient of this e-mail, please notify the sender of the wrong delivery and delete it immediately from your system.
This e-mail contains confidential information or information belonging to La Francaise des Jeux and is intended solely for the addressees. The unauthorised disclosure, use, dissemination or copying (either whole or partial) of this e-mail, or any information it contains, is prohibited.
E-mails are susceptible to alteration and their integrity cannot be guaranteed. La Francaise des Jeux shall not be liable for this e-mail if modified or falsified.



More information about the regex-coach mailing list