in reply to Work-around for variable length look-behind?
Maybe?
$s = 'bbaaccbab sdcbalsbadcnw';; $s =~ s[(b)(?=[^\s]+$)][B]g;; bbaaccbab sdcBalsBadcnw
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Work-around for variable length look-behind?
by pat_mc (Pilgrim) on Oct 11, 2010 at 10:47 UTC | |
|
Re^2: Work-around for variable length look-behind?
by mjscott2702 (Pilgrim) on Oct 11, 2010 at 10:54 UTC | |
by BrowserUk (Patriarch) on Oct 11, 2010 at 11:17 UTC |