[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
▼ Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: regex cheatsheet.png (523 KB, 1414x2000)
523 KB PNG
If I gotta say something positive about shitposters and bot posts, is that they're forcing me to git gud at regex.
>>
>>110068209
I just did regex pzzles for a few days. Shits ezpz
>>
you can't outsmart them with that kek I gave up and I just hide posts and thread manually and ignore the rest. It's easy to tell which replies are genuine and ignore the rest
>>
>>110068500
Filtering iPhone/facebook/twitter/discord/AI filenames have made the site a lot more bearable, even if slower.
>>
>>110068728
nta can you post the regex please
>>
>>110068728
hmm, you're right, that might be worth trying out. I noticed those filenames too but sometimes I download images and keep the original filename and I know many other people do the same (even though I don't use twitter or a phone) so I didn't want to hide false positives but I know it'd make the experience smoother.
>>
>>110068764
>/.{8}-.{4}-.{4}-.{4}-.{12}.*/
>/FB_IMG_\d{13}/
>/IMG_\d{4}/
>>
>>110068786
thank you
>>
>>110068764
NTA but in case he doesn't deliver work with an AI to create regexes for these types of filenames and ask it where the fuck they come from because I forgot. Just grabbed a few from /pol/:
IMG_20261014_224258_418.jpg
IMG_d5f31733-f82e-44e0-a2a1-7263ea3bc091.jpg
IMG_2475.jpg
Screenshot_20231008_190240_Chrome.jpg
<GUID/UUID based>.extension
>>110068786
Cool, thanks.
>>
>>110068786
>>110068820
i also see a lot of
>images.png
and variations like
>images (1).jpg
where could it be from?
or is it like a clipboard thing
>>
File: file.jpg (142 KB, 978x1280)
142 KB JPG
>>110068891
I thought file.<ext> is for when people paste images from the clipboard. Let me give this a try with 4chanx but first I'll turn off
>Randomize Filename: Set the filename to a random timestamp within the past year. Disabled on /f/.
>>
>>110068891
Also I think that's a phoneposter format. I have some images.<extension> files on my phone that I downloaded using the chrome browser
>>
File: file.png (1.52 MB, 978x1280)
1.52 MB PNG
>>110068891
so file.jpg was when I dragged and dropped the image and file.png is when I copied in explorer.exe and pasted it here. I dunno if banning image pasters makes a lot of sense since I do it all the time.
>>
>>110068209
Filters make browsing this place much more pleasant and less wasteful and yeah it made me learn lookaround properly. Highlighting posts that are of special interest is also nice.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

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.