Web browser: ---
            Bug ID: 60908
           Summary: mw.ustring does not match %W correctly
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Scribunto
    Classification: Unclassified
   Mobile Platform: ---


> In Lua
> string.match("abc,def", "^%w*(%W*)%w*$") returns ,
> but Module:String's implementation
> {{#invoke:String|match|s=abc,def|pattern=^%w*(%W*)%w*$|plain=false}} returns 
> ,def
> which is clearly wrong. — {{carismagic|5 February 2014, 08:58}}

Confirmed that this is a bug in Scribunto. Patch to follow momentarily.

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
Wikibugs-l mailing list

Reply via email to