sindresorhus/shebang-regex
View on GitHub ↗ ★ 48 JavaScript
Regular expression for matching a shebang line
6 mentions on Hacker News by 2 people: 0 stories, 6 comments · first 2018-11-28 · latest 2019-07-29
20082026
-
I love the useless tests : https://github.com/sindresorhus/shebang-regex/blob/1cb5d4aee... You could replace the regexp with something matching everything and they would still pass.
comment by arkh · 2019-07-29 · in Malicious code in the purescript NPM installer -
well, the rate-map at least includes a function: https://github.com/sindresorhus/shebang-regex
comment by fock · 2019-07-29 · in Malicious code in the purescript NPM installer -
Tell me, why one needs packages such as this except for personal (and ultimately npm) marketing: https://github.com/sindresorhus/shebang-regex - the whole thing smells
comment by fock · 2019-07-29 · in Malicious code in the purescript NPM installer -
I hope, building a new package registry entails weeding out package-spam like this: https://github.com/sindresorhus/shebang-regex
comment by fock · 2019-04-27 · in NPM's heavy-handed management prompts JavaScript code registry challenger -
…placed by some idiotic digital nomads for their personal CV-polishment (ehm, not looking at you: https://github.com/sindresorhus/shebang-regex ). Have a look at where this package is used (basically only in cross-spawn, where there are 10…
comment by fock · 2019-04-27 · in Docker Hub Hacked – 190k accounts, GitHub tokens revoked, builds disabled -
I hope you don't need such things anymore then: https://github.com/sindresorhus/shebang-regex/blob/master/in...
comment by fock · 2018-11-28 · in ECMAScript regular expressions are getting better (2017)