View Issue Details

IDProjectCategoryView StatusLast Update
0000760LDMud 3.3Documentationpublic2018-01-30 03:59
ReporterSorcerer Assigned Tozesstra  
PrioritynormalSeveritytextReproducibilityalways
Status resolvedResolutionfixed 
Target Version3.3.720Fixed in Version3.3.720 
Summary0000760: error in manpage for regreplace
DescriptionThe manpage for regreplace (English and German versions) gives the following example:
txt = regreplace(txt, "HOUSE", #'lower_case, 1);
But since regreplace will pass the substring AND the position to the closure this will yield an error due to too many arguments to (efun::)lower_case(). My suggestion is to change the line to read:
txt = regreplace(txt, "HOUSE", (: lower_case($1) :), 1);

This also applies to the manpages of 3.3 and probably also 3.2.
TagsNo tags attached.

Activities

zesstra

2010-11-17 10:31

administrator   ~0001913

Fix committed to master branch.

zesstra

2010-11-17 10:45

administrator   ~0001914

Fix committed to master-3.3 branch.

zesstra

2018-01-29 18:59

administrator   ~0002339

Fix committed in revision 4ef2f7c605717241f0bfb11c612a3d25005f79d8 to master-3.3 branch (see changeset 2253 for details). Thank you for reporting!

zesstra

2018-01-29 21:57

administrator   ~0002390

Fix committed in revision 4ef2f7c605717241f0bfb11c612a3d25005f79d8 to master-3.3 branch (see changeset 3598 for details). Thank you for reporting!

zesstra

2018-01-30 03:59

administrator   ~0002441

Fix committed in revision 496e83d18e617d45df5d8662ea5a1716b018041e to master branch (see changeset 4035 for details). Thank you for reporting!

Issue History

Date Modified Username Field Change
2010-10-02 07:14 Sorcerer New Issue
2010-11-16 22:40 zesstra Assigned To => zesstra
2010-11-16 22:40 zesstra Status new => assigned
2010-11-17 10:31 zesstra Source_changeset_attached => ldmud.git master 496e83d1
2010-11-17 10:31 zesstra Note Added: 0001913
2010-11-17 10:31 zesstra Status assigned => resolved
2010-11-17 10:31 zesstra Resolution open => fixed
2010-11-17 10:45 zesstra Source_changeset_attached => ldmud.git master-3.3 4ef2f7c6
2010-11-17 10:45 zesstra Note Added: 0001914
2010-11-17 11:07 zesstra Project LDMud 3.5 => LDMud 3.3
2010-11-17 11:07 zesstra Category Documentation => Compilation, Installation
2010-11-17 11:07 zesstra Fixed in Version => 3.3.720
2010-11-17 11:07 zesstra Target Version => 3.3.720
2010-11-17 11:09 zesstra Category Compilation, Installation => Documentation
2018-01-29 18:59 zesstra Source_changeset_attached => ldmud.git master 496e83d1
2018-01-29 18:59 zesstra Source_changeset_attached => ldmud.git master-3.3 4ef2f7c6
2018-01-29 18:59 zesstra Note Added: 0002339
2018-01-29 21:57 zesstra Source_changeset_attached => ldmud.git master 496e83d1
2018-01-29 21:57 zesstra Source_changeset_attached => ldmud.git master-3.3 4ef2f7c6
2018-01-29 21:57 zesstra Note Added: 0002390
2018-01-30 03:59 zesstra Source_changeset_attached => ldmud.git master 496e83d1
2018-01-30 03:59 zesstra Note Added: 0002441