On 10.04.2013 23:21, Guenter Knauf wrote:
On 10.04.2013 23:01, fua...@apache.org wrote:
Author: fuankg
Date: Wed Apr 10 21:01:51 2013
New Revision: 1466669

URL: http://svn.apache.org/r1466669
Log:
Put this backport for now on hold to get some more
time for testing ...

ok, onward with some more testing .....
now on r:strcmp_match(string, pattern) ...

this script:

function handle(r)
  r.content_type = "text/plain"

  local match = r:strcmp_match("foobar.com", "foo*.com")
  if match then
    r:puts("foobar.com matches foo*.com")
  end
end

results in:

Error!

sys:/www/tstlua/not_working/strcmpmatch.lua:4: calling 'strcmp_match' on bad self (string expected, got userdata)

Gün.






Reply via email to