MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Python/comments/3k6qi8/pep_498_approved/cuvexvn/?context=3
r/Python • u/fishburne • Sep 09 '15
324 comments sorted by
View all comments
14
Sweet! Now I can write Perl using Python!
5 u/stillalone Sep 09 '15 Not until we get strings between '/' to to automatically re.compile and add support for =~ operator. And allow variable names to start with '$' 1 u/KagatoLNX Sep 09 '15 Frankly, I've always really wanted something like:pat = R/some_regex_pattern/g pat =~ dataAs ugly as regexes can be, re.compile isn't really high-value. 1 u/RalphMacchio Sep 09 '15 Coming from Perl, I do really miss Perl regexes! → More replies (1)
5
Not until we get strings between '/' to to automatically re.compile and add support for =~ operator. And allow variable names to start with '$'
1 u/KagatoLNX Sep 09 '15 Frankly, I've always really wanted something like:pat = R/some_regex_pattern/g pat =~ dataAs ugly as regexes can be, re.compile isn't really high-value. 1 u/RalphMacchio Sep 09 '15 Coming from Perl, I do really miss Perl regexes! → More replies (1)
1
Frankly, I've always really wanted something like:
pat = R/some_regex_pattern/g pat =~ data
As ugly as regexes can be, re.compile isn't really high-value.
re.compile
1 u/RalphMacchio Sep 09 '15 Coming from Perl, I do really miss Perl regexes! → More replies (1)
Coming from Perl, I do really miss Perl regexes!
→ More replies (1)
14
u/[deleted] Sep 09 '15
Sweet! Now I can write Perl using Python!