- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi,
I'm curious what kinds of replacement patterns IPP supports in ippsRegExpReplaceInit.
The only supported case I found besides raw string is as follows.
regex: ([AB])([CD])
src string: AC
replacement: $2$1
dist string: CA
Is there any other kinds of supported patterns? / What are the exact usages of replacement pattern?
Thanks,
-Evan
I'm curious what kinds of replacement patterns IPP supports in ippsRegExpReplaceInit.
The only supported case I found besides raw string is as follows.
regex: ([AB])([CD])
src string: AC
replacement: $2$1
dist string: CA
Is there any other kinds of supported patterns? / What are the exact usages of replacement pattern?
Thanks,
-Evan
Lien copié
2 Réponses
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Hi,
IPP function perform matching and replacement operations with the Perl-compatible regular expression patterns. For the replacementit is:1. Simple text replacemet and2. Using of n-th matched subpattern ($1, 2,...) in any combination.
Igor S. Belyakov
- Marquer comme nouveau
- Marquer
- S'abonner
- Sourdine
- S'abonner au fil RSS
- Surligner
- Imprimer
- Signaler un contenu inapproprié
Nice information about Perl-compatible regular expressions - http://search.cpan.org/dist/perl/pod/perlre.pod
Regards,
Naveen Gv

Répondre
Options du sujet
- S'abonner au fil RSS
- Marquer le sujet comme nouveau
- Marquer le sujet comme lu
- Placer ce Sujet en tête de liste pour l'utilisateur actuel
- Marquer
- S'abonner
- Page imprimable