Posted to tcl by Stu at Tue Mar 05 09:02:24 GMT 2024view pretty

set re {(?x)
     ^    (.+?)   # ip
    [ ]   (.+?)   # usr1
    [ ]   (.+?)   # usr2
    [ ] \[(.+?)\] # date
    [ ]  "(.+?)"  # request_ln
    [ ]   (\d+)   # code
    [ ]   (.+?)   # size
    [ ]  "(.+?)"  # ref
    [ ]  "(.*?)"  # ua
    [ ]   (.+?)   # uid
    [ ]   (.+?)   # errid
    [ ]   (\d+)   # stint
    [ ]   (.+?)   # tls
    [ ]   (.+?)   # enc
     $
}