[svn:parrot] r46099 - branches/ops_pct/ext/nqp-rx/src/gen
cotto at svn.parrot.org
cotto at svn.parrot.org
Wed Apr 28 03:24:49 UTC 2010
Author: cotto
Date: Wed Apr 28 03:24:47 2010
New Revision: 46099
URL: https://trac.parrot.org/parrot/changeset/46099
Log:
[ext] update settings.pm for immutable strings
Modified:
branches/ops_pct/ext/nqp-rx/src/gen/settings.pm
Modified: branches/ops_pct/ext/nqp-rx/src/gen/settings.pm
==============================================================================
--- branches/ops_pct/ext/nqp-rx/src/gen/settings.pm Wed Apr 28 03:22:43 2010 (r46098)
+++ branches/ops_pct/ext/nqp-rx/src/gen/settings.pm Wed Apr 28 03:24:47 2010 (r46099)
@@ -356,7 +356,7 @@
$I1 = $P2
$P3 = find_lex '$replace_string'
$S1 = $P3
- substr $S0, $I0, $I1, $S1
+ $S0 = replace $S0, $I0, $I1, $S1
$P0 = $S0
};
More information about the parrot-commits
mailing list