[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | | Home]

what was singlehandedly the most helpful tool for you? for me

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 11
Thread images: 1

File: regex-example.png (35KB, 931x346px) Image search: [iqdb] [SauceNao] [Google]
regex-example.png
35KB, 931x346px
what was singlehandedly the most helpful tool for you?
for me it was learning RegEx

Seriously wtf, it's a mathematical, deterministic model for contextual comparison

It's like wittgenstein's dream
>>
>>61173534
>RegEx
How about you stop being a Wincuck and start using GNU/Linux, faggot?
>>
>>61173534
Shit picture. Regex cant parse general e-mail addreases.
>>
>>61173546
I am using GNU/Linux what the fuck are you talking about

>>61173597
^(.+)@(.+)$
>>
>>61173597
>Regex cant parse general e-mail addreases.
pretty sure it can do it just fine, except for overgenerating a bit so users would be able to supply email addresses that are not really valid.
>>
>>61173597
(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])
>>
>>61173658
Lots of email validation libraries use regex, and it's always an absolutely absurd abuse of the technology. The email rfcs are more complicated than you probably realize.
>>
>>61173534
for me it was learning FedEx, now i can easily send my package to the whole world

Seriously wtf, it's fast, affordable model for sending parcels

It's like my dream
>>
>>61175383
Kek
>>
find . -type f | xarg (some command)

markdown
youtube-dl
>>
>>61173630
>(. +) @(.+)$
Didn't know @@@ was a valid email address
Thread posts: 11
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]
Please support this website by donating Bitcoins to 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
If a post contains copyrighted or illegal content, please click on that post's [Report] button and fill out a post removal request
All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site. This means that 4Archive shows an archive of their content. If you need information for a Poster - contact them.