Description
Capture Groups
Ranges
Match Count
Literals
Final Expression
Demo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## Regular Expressions | |
| # Operators | |
| [^](#start-of-string)\ | |
| [.](#any-char)\ | |
| [$](#\$)\ | |
| [?](#0-or-1)\ | |
| [\[\]](#range)\ | |
| [*](#wild)\ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apt-get -y install git | |
| wget https://storage.googleapis.com/golang/go1.3.3.linux-amd64.tar.gz | |
| tar -C /usr/local -xzf go1.3.3.linux-amd64.tar.gz | |
| export PATH=$PATH:/usr/local/go/bin | |
| export GOPATH=/home/linuxadmin/go | |
| go get github.com/bosun-monitor/scollector |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| - hosts: localhost | |
| user: ubuntu | |
| gather_facts: no | |
| tasks: | |
| - name: local call | |
| local_action: vsphere_guest | |
| vcenter_hostname=yourcenter.qualifiedhostname | |
| username="authorizedvcenteruser" | |
| password="password" |