I need a syntax example for host_regex to pull the hostname out of a share like the following:
[monitor://\\norcal_server\c$\Windows\System32\LogFiles]
Since the messageboard seems to be rather moody today, I'm having trouble writing HTML-specific characters at the moment, like < or >, so here goes.
\[monitor\:\/+\\+
(?< HOST >[^\\]+)\\
You'd have to remove the spaces surrounding HOST..
or perhaps, even simpler
\\{2}(?
< host
>[^\\]+)\\
Hope this helps,
Kristian