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() { | |
// Returns empty string | |
String s00 = '00'; | |
String s0 = s00.replaceAll(new RegExp(r'^[0]*'), ''); | |
print("convesion of 00 with RegExp returns empty string: '$s0'"); | |
String s01 = '01'; | |
String s02 = '02'; |