Last active
September 25, 2018 02:46
-
-
Save yeoupooh/aa36ca2b1972f570aa6ab12e495abad1 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
void main() { | |
var matcher = new RegExp('src="([^"]*)"'); | |
var g = matcher.allMatches('abc class="videoclass" src="source" test>'); | |
print(g.length); | |
g.forEach((m) { | |
print('0=${m[0]}, 1=${m[1]}'); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment