[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 | Free Show | Home]

ITT: we generalize posts as regular expressions

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: 39
Thread images: 4

File: regex.jpg (35KB, 609x414px)
regex.jpg
35KB, 609x414px
/God I (fucking)? (love|hate) [a-z]+fags./i
>>
OP is, as usual, a massive faggot
>>
>>59577079
^.*$
>>
>>59577272
Obligatory
>>
>>59577272
^[a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z|\s|.|,|:|;|?|!|"|#|ยค|%|&|/|\(|\)]{1,}
>>
No, thanks.
>>
>>59577079
.+
>>
>>59577079
*
>>
rm -rf /
>>
>>59577079
s/op/faggot/g
>>
>>59577079
You just matched every possible thread on /g/ :^)
>>
>>59577079
the . at the end should be something like [.!]*
>>
>>59577079
/What does \/g\/ think of [a-zA-Z]+\?/
>>
/(AMD|Intel) (BTFO|is finished)/
>>
/.*(g|G)eneral.*/
>>
>make my regexps for me /g/
>>
/^perfect \w+ do(es)?n'?t exis?-$/i
>>
>>59577635

How is that a regex?
>>
/b+r+a+p+/i
>>
>>59583606
That's a perfectly valid regex.
>>
>>59577079

^.*NORMIES.*RE\+$
>>
>>59583872
>\+
>>
>>59577079
This is [a-zA-Z]{1,}[\.!,] (say something nice about (him|her)|please (don't |no )?bully)[\.!,]
>>
>>59583904
> what is sed
>>
>>59577079
/BR+AP/
>>
/i wish i knew regex. it's so cool/i
>>
File: a53.jpg (75KB, 737x758px) Image search: [Google]
a53.jpg
75KB, 737x758px
>>59577079
/[a-z]{3} thread/i
>>
>>59577079
>>59577252
Perl was great to learn but unfortunately it has abysmally hideous syntax.

Like all fake scripting languages.
>>
>regex
Absolutely problematic. Those regex symbols can present themselves as difficult and threatening, please consider using VerbalExpressions instead.
>>
>>59584825
.canYouRepeatTheQuestion('string');
>>
>>59583924
>using {1,} instead of +
absolutely disgusting
>>
>>59577272
^.+$
Fixed. You can't make empty posts.
>>
>>59584825
>maybe('www.')
What is the fucking point of that line?
>>
>>59584825
>muh punctuation
>>
File: funny cat video.webm (3MB, 854x480px) Image search: [Google]
funny cat video.webm
3MB, 854x480px
>>59584825
>>
>>59577079
Ryzen sucks (nigger|fucking)? (dick|cock)s?
>>
>>59584825
/I bet( you|cha) can't (golf|shorten) your (code|script) with that(| being obviously (verbal|too long))\./i
>>
>>59577079
S -> But can P parse parentheses? E
P -> ( RE )
RE -> RegEx | Regular Expression
E -> ha E
>>
>>59589453
At least I can't make deeply nested two kind parentheses.

S > SP .
S > SB .
S > S S .

SP > ( EP .
SB > [ EB .

EP > ) .
EP > [ ) EB .
EB > ] .
EB > ( ] EP .
Thread posts: 39
Thread images: 4


[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]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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 RandomArchive shows their content, archived.
If you need information for a Poster - contact them.