The following issue has been SUBMITTED.
======================================================================
http://bugs.farmanager.com/view.php?id=2404
======================================================================
Reported By: JohnDoe
Assigned To:
======================================================================
Project: Far Manager
Issue ID: 2404
Category: Macro
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Build:
======================================================================
Date Submitted: 2013-04-30 23:42 MSK
Last Modified: 2013-04-30 23:42 MSK
======================================================================
Summary: %f[set] - frontier pattern in unicode.utf8
Description:
Неправильно работает frontier pattern
Steps to Reproduce:
local key = "Alt"
r1 = key:gsub("%f[%u]Alt","LAlt")
r2 = string.gsub(key,"%f[%u]Alt","LAlt")
msgbox(r1,r2)
В обоих случаях ожидается совпадение
(замена на LAlt).
Однако key:gsub почему-то не совпадает
Additional Information:
http://lua-users.org/wiki/FrontierPattern
http://www.lua.org/manual/5.2/manual.html#pdf-string.match
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-04-30 23:42 JohnDoe New Issue
======================================================================