« first day (2074 days earlier)      last day (1138 days later) » 

8:39 AM
I also don't quite understand the phrasing of that question. But generally I dislike the weight attributed to downvotes, but what really gets me is downvotes without any elaboration for a question that might be easy for experts to google, but hard for novices
on that topic, I always struggle to find a good regular expression pattern to exclude a keyword. The one's I have found, e.g. this one (ch.mathworks.com/matlabcentral/answers/…) doesn't work for me out of the box. It's so unintuitive I always end up matching regularly with regexpi and then subtracting whatever matched in a two-liner...
*ones
 
9:35 AM
@user2305193 there's no regex for "not keyword".
in a specific place you can use a negative lookahead/lookbehind if the specific regex engine supports that
 
9:57 AM
I see... I don't really understand why this wasn't implemented, but thanks for telling me ^^
 
because it's not regular...
regular languages are described by regex which describes regular languages
if you can't write a regex for it it's not regular
 
hm... this explanation hinges on the understanding of what a regular language is
which leads me to some googling hold on ^^
 
regular laugnages are what can be described by regex :P
 
dude
your explanation couldn't be more circular xD
1+1=2 because 2=1+1
 
except you know how to add two numbers
 
10:08 AM
yesyes... the hint is taken, I'm already on it trying to look up what the 'commonly accepted knowledge' is about this (which would equal '1' in this analogy I guess...)
 
> In theoretical computer science and formal language theory, a regular language (also called a rational language)[1][2] is a formal language that can be defined by a regular expression, in the strict sense in theoretical computer science (as opposed to many modern regular expressions engines, which are augmented with features that allow recognition of non-regular languages).
unlike "regular language", "regular expression" is very well-defined
 
and anything else is considered irrational I take it
 
I didn't find this stackoverflow.com/questions/406230/… which solves the pragmatic aspects of the question
(I think)
 
@user2305193 note that as far as I know lookarounds are not part of bare regex
 
I seem to have failed to explicitly communicate that I'm using matlab to do this
 
10:16 AM
btw do you know regexper.com? It can create some nice finite state automatons from your regex!
 
I didn't!
 
I saw a python library that did that
it basically did arithmetic with regex and tells you what strings can be generated with one
 
that's pretty beautiful and equally illuminating @flawr!
 
@user2305193 well it's not mine, but it sometimes helps figuring out what a specific regex does
 
@flawr well there's also regex101.com that helps with that
 
10:20 AM
@AndrasDeak oh that is a very nice one, thanks for sharing!
 
10:45 AM
hint: dont use regexp, your life gets much better :D
 
regex is excellent, in the 1% of current use cases that actually need regex
if you take regex too seriously you end up with perl
 
hahaha
 
11:12 AM
@AndrasDeak greenery.lego :D
 
12:06 PM
user image
4
^ re: your earlier discussion
 
 
4 hours later…
3:46 PM
@Dev-iL hahahah so true
 
4:19 PM
I love regex I must say, I use it pretty often
 
@user2305193 regexcrossword.com :D
 
hm. the inverse would be more useful
but that is undoubtedly one of the most nerdy crossword puzzles I have seen in - ever -
 
@user2305193 you mean generating clues from a filled grid?
 
5:13 PM
@user2305193 please consider changing your nick to something more memorable, seeing how you're pretty much a regular around here. For me personally it's difficult discerning all the arbitrary user***** :\
 
5:31 PM
@Dev-iL there's at least two user* users I've seen in the past month so perhaps you're already confusing them :P
@user2305193 just watch out because you can only change names once every 30 days
 
 
2 hours later…
7:43 PM
yeah keep that in mind when you wanna choose a name like ballbreaker, you can't go back
 
@ballBreaker ...but who would possibly want to choose that name
 
probably some looooser
 
now I'm wondering about the deeper meaning of your name
 
hahaha tbh I think other people suggested it and I ran with it
 
hehe:)
 
7:49 PM
by that I mean ray kept calling me a ball breaker xD and other people in here
 
and what about the lobster?:)
 
so you know, naturally
I thought of "what would be the worst thing to break a testicle" and thought a lobster claw would be truly awful
 
haha
 
 
1 hour later…
8:57 PM
@ballBreaker you forgot to mention the most important part: you had to change your name so you could post about your poop online
 
LOL i forgot about that aspect
my old one was too close to my name hahahaha
 
 
2 hours later…
11:22 PM
@AndrasDeak case in point cc @flawr reddit.com/r/Python/comments/kfxibk/…
 
oh god, this is hilarious XD
 
of course it's the python devs' fault
 
do you know what the status of this is right now?
 
Status of what?
 
^ it's apparently still disabled
 
11:32 PM
Yeah, that's gone for good.
And that is pretty lame, and the devs' fault. However that comment is a complete non sequitur. And the problem is apparently the shit protocol used for the search. There's a web alternative which still works pypi.org/search
 

« first day (2074 days earlier)      last day (1138 days later) »