in reply to Re^2: Using pos() inside regexp (no /e)
in thread Using pos() inside regexp
Compare with tye's:# Adds trailing newline s/([^\n]{0,14},|[^\n]{15})(?!\n)/$1\n/g
# Doesn't add trailing newline s/([^\n]{0,14},|[^\n]{15})(?=[^\n])/$1\n/g
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Using pos() inside regexp (fixed)
by tye (Sage) on Oct 08, 2010 at 17:48 UTC | |
by braveghost (Acolyte) on Oct 09, 2010 at 07:28 UTC |