Better HN
topnewbestaskshowjobs
Log inSign up

zenithcobra

2 karma · joined Nov 28, 2016 (9y ago) · 3 submissions

Submissions

comment 7y ago · link · parent

"^[AEIOU]{1}.+[aeiou]{1}$" or `(^[AEIOU]{1}.+[aeiou]{1}$) or re (^[AEIOU]{1}.+[aeiou]{1}$) or @(^[AEIOU]{1}.+[aeiou]{1}$) or <^[AEIOU]{1}.+[aeiou]{1}$> or /^[AEIOU]{1}.+[aeiou]{1}$/ or (re:^[AEIOU]{1}.+[aeiou]{1}$) or `^[AEIOU]{1}.+[aeiou]{1}$`

all look ugly. I would either use a triple distinct character set like python with """^[AEIOU]{1}.+[aeiou]{1}$""" or ~~~^[AEIOU]{1}.+[aeiou]{1}$~~~ but for simplicity you should use the re(...) one because you can intuitively know where the wrapper starts and ends.

comment 8y ago · link · parent

question with a question. Why does everyone still use bash?

comment 9y ago · link · parent

the earth spins around the sun. the sun spins around the milky way. so if one where to time travel wouldn't they just pop into a space where we are now but where the earth hasn't reached yet?