use top-level dir
add apache license
add capture examples
allow captures in lua patterns
show pattern capture example
make sure we actually receive any args
merge from master
updated docs