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

  1. set re {(?x)
  2. ^ (.+?) # ip
  3. [ ] (.+?) # usr1
  4. [ ] (.+?) # usr2
  5. [ ] \[(.+?)\] # date
  6. [ ] "(.+?)" # request_ln
  7. [ ] (\d+) # code
  8. [ ] (.+?) # size
  9. [ ] "(.+?)" # ref
  10. [ ] "(.*?)" # ua
  11. [ ] (.+?) # uid
  12. [ ] (.+?) # errid
  13. [ ] (\d+) # stint
  14. [ ] (.+?) # tls
  15. [ ] (.+?) # enc
  16. $
  17. }