About WEB-PROXY syntax

Hello. Tell me please what mean these operands or how it is called:
For example in this string:

path=":^.*\\.torrent\$"

What is mean:

  1. :
  2. ^
  3. \
  4. $
  5. And yet please explain this:
dst-host=http*googlevideo*get_video*

What is mean?

p.s.
May be there is any topics about this syntax?
If yes could you give me a link.
Thanks.

Hi,
Small hints in using regular expressions:

\ symbol sequence is used to enter \ character in console
. pattern means . only (in regular expressions single dot in pattern means any symbol)
to show that no symbols are allowed before the given pattern, we use ^ symbol at the beginning of the pattern
to specify that no symbols are allowed after the given pattern, we use $ symbol at the end of the pattern
to enter [ or ] symbols, you should escape them with backslash .

Thanks.