Created
March 15, 2018 02:06
-
-
Save yrong/79e01e402f4433e41b78db092591ff9d to your computer and use it in GitHub Desktop.
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
var str = "vfs.fs.size[C:,pfree]" | |
var matched = str.match(/^vfs.fs.size\[(.*?):,pfree\]$/) | |
//matched[1]="C" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment