|
sane languages: lets have a regex library with pcre-like syntax c++: lets have a regex library but the user has to choose which of several syntaxes they want to plug into each regex, and none of them is pcre
|
# ? Oct 10, 2017 17:51 |
|
|
# ? May 29, 2024 16:24 |
|
lol, just lol if your regex implementation isnt pcre
|
# ? Oct 10, 2017 17:55 |
i hate googling regex things because as a real thread poster i have no loving idea about all the regex syntaxes and its like blind taste test when 3/4s of items are a cactus
|
|
# ? Oct 10, 2017 17:56 |
|
I can't write regex without one of those regex test websites
|
# ? Oct 10, 2017 18:01 |
|
cinci zoo sniper posted:i hate googling regex things because as a real thread poster i have no loving idea about all the regex syntaxes and its like blind taste test when 3/4s of items are a cactus
|
# ? Oct 10, 2017 18:09 |
|
I use https://regexr.com/
|
# ? Oct 10, 2017 18:11 |
|
Luigi Thirty posted:I can't write regex without one of those regex test websites That's probably a good idea compared to mashing random punctuation into an editor.
|
# ? Oct 10, 2017 18:23 |
|
BONGHITZ posted:why do you program? Every line of code is written without reason, maintained out of weakness, and deleted by chance
|
# ? Oct 10, 2017 18:36 |
|
IDEA has regex expression checking built in and it owns
|
# ? Oct 10, 2017 18:37 |
|
CRIP EATIN BREAD posted:lol, just lol if your regex implementation isnt pcre Didn't we have this derail last week? PCRE syntax is ok, impl sux
|
# ? Oct 10, 2017 18:53 |
|
i am responsible for the test that has been mysteriously dropping a coworkers db
|
# ? Oct 10, 2017 19:15 |
|
i like how the entire pcre lib uses int as file offsets so it doesnt work on huge files, so tools like ag have to stream line by line when they are really big
|
# ? Oct 10, 2017 19:16 |
|
i have never had to regex for this job yet, but every time i have to i am terrified because i never know how to figure out which syntax whatever framework i am using uses. i have never once seen it actually documented
|
# ? Oct 10, 2017 19:16 |
|
what frameworks are opinionated about regex syntax though
|
# ? Oct 10, 2017 19:22 |
|
BONGHITZ posted:why do you program? it's a lot easier than being a mathematician and pays a lot better too and with this i very very occasionally get to actually do a tiny amount of college level math at least
|
# ? Oct 10, 2017 19:23 |
|
[quote="“MrMoo”" post="“477244893”"] That’s probably a good idea compared to mashing random punctuation into an editor. [/quote] well how the hell else do I write perl
|
# ? Oct 10, 2017 19:28 |
|
JawnV6 posted:what frameworks are opinionated about regex syntax though maybe they aren't, but just "put in a string representing a regex" is too vague for my taste
|
# ? Oct 10, 2017 19:36 |
|
HoboMan posted:maybe they aren't, but just "put in a string representing a regex" is too vague for my taste a proper framework/language has a type for a regex
|
# ? Oct 10, 2017 19:45 |
|
CRIP EATIN BREAD posted:lol, just lol if your regex implementation isnt pcre ICU or GTFO
|
# ? Oct 10, 2017 19:52 |
|
BONGHITZ posted:why do you program? if I don't I get all itchy
|
# ? Oct 10, 2017 19:55 |
|
honestly i program because i just kind of fell into it when decisions had to be made about what to do in college, and everything since then has been just trying to keep myself interested since ive already invested so much time and effort if my early life opportunities had
|
# ? Oct 10, 2017 19:58 |
|
JawnV6 posted:what frameworks are opinionated about regex syntax though Cocoa Foundation has used ICU exclusively since 2004 because internationalization is critically important
|
# ? Oct 10, 2017 20:02 |
NihilCredo posted:regex101.com is all you need ive been to both before but im so incompetent w/ regex that i usually either deal by "regular pattern matching" ("*foo*bar*.baz") or stackoverflow the regex
|
|
# ? Oct 10, 2017 20:21 |
CRIP EATIN BREAD posted:IDEA has regex expression checking built in and it owns whoa, pycharm should have it too then. i guess i didnt notice because i've used regex in python maybe once in my life
|
|
# ? Oct 10, 2017 20:22 |
|
Sapozhnik posted:lol computer vision stuff that has tight time budgets on limited hardware
|
# ? Oct 10, 2017 20:26 |
|
cinci zoo sniper posted:whoa, pycharm should have it too then. i guess i didnt notice because i've used regex in python maybe once in my life just checked and it appears to, yeah
|
# ? Oct 10, 2017 20:27 |
Xarn posted:Didn't we have this derail last week? this thread has only existed for a few days everything before is nothing and was written to /dev/null
|
|
# ? Oct 10, 2017 20:34 |
fritz posted:computer vision stuff that has tight time budgets on limited hardware computer vision owns
|
|
# ? Oct 10, 2017 20:43 |
|
Tru dat
|
# ? Oct 10, 2017 20:53 |
|
the only computer vision anyone needs is the headache you get from using the Atari MindLink
|
# ? Oct 10, 2017 21:45 |
|
I've never had any difficulty with regular expressions. lots of things I struggle with but regular expressions never were among them. outside of the line-noisy syntax and subtleties like greedy/non-greedy or what capturing group gets what match index, I don't see anything particularly hard about them?
|
# ? Oct 10, 2017 21:48 |
|
regex is a pain in the rear end because i hardly ever need to use it, so I learn just enough to do whatever I need to do, and then by the next time I need it I've totally forgotten the actual syntax and need to learn it from scratch again
|
# ? Oct 10, 2017 21:52 |
Main Paineframe posted:regex is a pain in the rear end because i hardly ever need to use it, so I learn just enough to do whatever I need to do, and then by the next time I need it I've totally forgotten the actual syntax and need to learn it from scratch again
|
|
# ? Oct 10, 2017 21:56 |
|
silvergoose posted:this thread has only existed for a few days that derail was in the PL thread with some properly capitalization punctuation huffster wanted everyone to consider "that one backtracking regex" that pcre flubs
|
# ? Oct 10, 2017 21:58 |
|
im getting stewed up over minor PR etiquette differences and idk if i should even bother caring approach one: carefully select a small set of reviewers, wait for 100% approval before merge approach two: add 50 people of dubious relevance, take any 1 approval despite comments as the okay to merge
|
# ? Oct 10, 2017 22:00 |
|
he wasn't wrong. project idea: scanning github for internet reachable code that uses regexes with pathological behavior
|
# ? Oct 10, 2017 22:01 |
|
Main Paineframe posted:regex is a pain in the rear end because i hardly ever need to use it, so I learn just enough to do whatever I need to do, and then by the next time I need it I've totally forgotten the actual syntax and need to learn it from scratch again
|
# ? Oct 10, 2017 22:03 |
|
hackbunny posted:he wasn't wrong. project idea: scanning github for internet reachable code that uses regexes with pathological behavior he couldn't really maintain the thread of discussion and started swinging at folks who use one-off regexes outside of internet reachable production code, so i guess all those fancy commas didn't help
|
# ? Oct 10, 2017 22:04 |
|
LoL if you actually put effort into appearing not to put in any effort
|
# ? Oct 10, 2017 22:09 |
|
|
# ? May 29, 2024 16:24 |
|
i often times edit something thats broken in a buildscript and never commit it and just leave it for someone else to find
|
# ? Oct 10, 2017 22:15 |