Skip to content

tir match pattern not working in luajit 2.0 beta8 #5

@leite

Description

@leite

Hi,

first thanks for this great web framework, i hope it can grow with great documentation (i missed) ...

well, i found two bugous lines on:

/usr/local/lib/luarocks/rocks/tir/0.9-3/bin/tir:23

  • local token = opt:match("-+([a-z-]+)") -- wrong
  • local token = opt:match("-+([a-z-]+)") -- right

/usr/local/share/lua/5.1/tir/session.lua:50

  • return cookie:match('session="(APP-[a-z0-9-]+)";?') -- wrong
  • return cookie:match('session="(APP-[a-z0-9-]+)";?') -- right

i post a question in lua list asking for this, see:
http://lua-users.org/lists/lua-l/2011-09/msg00233.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions