FTFY
(Edit: forgot HN markup doesn't do strikethrough; that's what the ~~'s are for above.)
But at it's basis the input is either accepted or not. Which leaves interpretation to the human on what an accept or reject/neither state means.
That is for any given input the substitute turing machine produces a definitive regex.
A subset of regexes (that OP showed) from the total class of regexes that I mentioned in my comment are:
/[Aa]re\s[Yy]ou\s\(.*\)?/Indeed, I am sentient./
/[Aa]re\s[Yy]ou\s\(.*\)?/Indeed, I am capable of intelligence./
/[Aa]re\s[Yy]ou\s\(.\*\)?/Indeed, I am going to take over the world./
Not sure why this is so controversial ;)## Parts of regex
.
[a-z]
$
## items that use regex m//
s///
qr//Remember when I said
A subset of regexes (that OP showed) from the total class of regexes that I mentioned in my comment are:
This clearly implies that a "subset" or "subsection" is not the same as a class. I well defined in multiple ways what I meant by class while you continue to bury your head in the sand. - not a regex
- not a class of regex
- not a part of regex in general
please educate yourself, as you seem to have trouble understanding the scope of what regex is.would you call an apple, a class of an orange?
> an expression /re/ can be used to specify a range of lines (matching the pattern), which can be combined with other commands
So the command contains a regex, but its not a regex itself, and its not a class of regex. Sorry, but you don't get to just say "well that's not my definition", and get out of it. Sometimes, you're just objectively wrong. It would be like saying you "donated" something, when you really "pledged" it.
https://math.stackexchange.com/a/173002 here read up. Also read on Russell's Paradox. I'm not objectively wrong you're just uneducated and your ego is too large. The irony is I was saying the exact same thing you were in my very first comment, except with more precision.
And I still would want you to think about what exactly "output" is.
1. https://stackoverflow.com/help/badges/269/regex?userid=10022...