Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Substitution of a particular letter in all combinations of positions in word (see inside)

by AnomalousMonk (Abbot)
on Jan 09, 2013 at 14:39 UTC ( #1012502=note: print w/ replies, xml ) Need Help??


in reply to Re: Substitution of a particular letter in all combinations of positions in word (see inside)
in thread Substitution of a particular letter in all combinations of positions in word (see inside)

... and using the  /r substitution modifier of 5.14+:

>perl -wMstrict -le "printf qq{'$_' } for glob('ferber' =~ s{e}{{e,a}}xmsgr); " 'ferber' 'ferbar' 'farber' 'farbar'


Comment on Re^2: Substitution of a particular letter in all combinations of positions in word (see inside)
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012502]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2015-07-07 06:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (87 votes), past polls