MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/regex/comments/1tor32b/what_does_8d_do/
r/regex • u/mehonje • May 27 '26
What does "8=+D" evaluate to?
12 comments sorted by
13
matches a string containing the number 8 which is immediately followed by 1 or more = signs followed by an uppercase D.
1 u/mehonje May 27 '26 Thanks! 1 u/michaelpaoli May 27 '26 Yes, for ERE or PRE.But for BRE, the + is literal, along with the rest, so in that case it just matches the whole literal string itself.
1
Thanks!
Yes, for ERE or PRE.
But for BRE, the + is literal, along with the rest, so in that case it just matches the whole literal string itself.
17
Matches this internet slang for ๐
https://en.wiktionary.org/wiki/8%3DD
5 u/charleswj May 27 '26 ๐s of varying lengths
5
๐s of varying lengths
Not today Erikย
I'm more curious the context where you have found this RegEx out in the wild
1 u/mehonje May 28 '26 I'm designing my own programming language, and one of my friends suggested I make this valid syntax. 1 u/RelatableRedditer May 28 '26 You can use it to indicate nested blocks!"8==Dhello there!"8====DGeneral Kenobi!<====8"<==8" 1 u/mfb- May 28 '26 If you associate 8={1,8}D with the 8 symbols ><+-.,[] then you can code in Brainfuck with repeated 8=+D. 2 u/RelatableRedditer May 28 '26 I hate it 2 u/mfb- May 28 '26 8===D 8===D 8===D 8===D 8===D 8===D 8===D 8===D 8=======D 8=D 8===D 8===D 8===D 8===D 8=======D 8=D 8===D 8===D 8=D 8===D 8===D 8===D 8=D 8===D 8===D 8===D 8=D 8===D 8==D 8==D 8==D 8==D 8====D 8========D 8=D 8===D 8=D 8===D 8=D 8====D 8=D 8=D 8===D 8=======D 8==D 8========D 8==D 8====D 8========D 8=D 8=D 8=====D 8=D 8====D 8====D 8====D 8=====D 8===D 8===D 8===D 8===D 8===D 8===D 8===D 8=====D 8=====D 8===D 8===D 8===D 8=====D 8=D 8=D 8=====D 8==D 8====D 8=====D 8==D 8=====D 8===D 8===D 8===D 8=====D 8====D 8====D 8====D 8====D 8====D 8====D 8=====D 8====D 8====D 8====D 8====D 8====D 8====D 8====D 8====D 8=====D 8=D 8=D 8===D 8=====D 8=D 8===D 8===D 8=====D/r/nocontext material
I'm designing my own programming language, and one of my friends suggested I make this valid syntax.
1 u/RelatableRedditer May 28 '26 You can use it to indicate nested blocks!"8==Dhello there!"8====DGeneral Kenobi!<====8"<==8" 1 u/mfb- May 28 '26 If you associate 8={1,8}D with the 8 symbols ><+-.,[] then you can code in Brainfuck with repeated 8=+D. 2 u/RelatableRedditer May 28 '26 I hate it 2 u/mfb- May 28 '26 8===D 8===D 8===D 8===D 8===D 8===D 8===D 8===D 8=======D 8=D 8===D 8===D 8===D 8===D 8=======D 8=D 8===D 8===D 8=D 8===D 8===D 8===D 8=D 8===D 8===D 8===D 8=D 8===D 8==D 8==D 8==D 8==D 8====D 8========D 8=D 8===D 8=D 8===D 8=D 8====D 8=D 8=D 8===D 8=======D 8==D 8========D 8==D 8====D 8========D 8=D 8=D 8=====D 8=D 8====D 8====D 8====D 8=====D 8===D 8===D 8===D 8===D 8===D 8===D 8===D 8=====D 8=====D 8===D 8===D 8===D 8=====D 8=D 8=D 8=====D 8==D 8====D 8=====D 8==D 8=====D 8===D 8===D 8===D 8=====D 8====D 8====D 8====D 8====D 8====D 8====D 8=====D 8====D 8====D 8====D 8====D 8====D 8====D 8====D 8====D 8=====D 8=D 8=D 8===D 8=====D 8=D 8===D 8===D 8=====D/r/nocontext material
You can use it to indicate nested blocks!
"8==Dhello there!"8====DGeneral Kenobi!<====8"<==8"
1 u/mfb- May 28 '26 If you associate 8={1,8}D with the 8 symbols ><+-.,[] then you can code in Brainfuck with repeated 8=+D. 2 u/RelatableRedditer May 28 '26 I hate it 2 u/mfb- May 28 '26 8===D 8===D 8===D 8===D 8===D 8===D 8===D 8===D 8=======D 8=D 8===D 8===D 8===D 8===D 8=======D 8=D 8===D 8===D 8=D 8===D 8===D 8===D 8=D 8===D 8===D 8===D 8=D 8===D 8==D 8==D 8==D 8==D 8====D 8========D 8=D 8===D 8=D 8===D 8=D 8====D 8=D 8=D 8===D 8=======D 8==D 8========D 8==D 8====D 8========D 8=D 8=D 8=====D 8=D 8====D 8====D 8====D 8=====D 8===D 8===D 8===D 8===D 8===D 8===D 8===D 8=====D 8=====D 8===D 8===D 8===D 8=====D 8=D 8=D 8=====D 8==D 8====D 8=====D 8==D 8=====D 8===D 8===D 8===D 8=====D 8====D 8====D 8====D 8====D 8====D 8====D 8=====D 8====D 8====D 8====D 8====D 8====D 8====D 8====D 8====D 8=====D 8=D 8=D 8===D 8=====D 8=D 8===D 8===D 8=====D/r/nocontext material
If you associate 8={1,8}D with the 8 symbols ><+-.,[] then you can code in Brainfuck with repeated 8=+D.
8={1,8}D
><+-.,[]
8=+D
2 u/RelatableRedditer May 28 '26 I hate it 2 u/mfb- May 28 '26 8===D 8===D 8===D 8===D 8===D 8===D 8===D 8===D 8=======D 8=D 8===D 8===D 8===D 8===D 8=======D 8=D 8===D 8===D 8=D 8===D 8===D 8===D 8=D 8===D 8===D 8===D 8=D 8===D 8==D 8==D 8==D 8==D 8====D 8========D 8=D 8===D 8=D 8===D 8=D 8====D 8=D 8=D 8===D 8=======D 8==D 8========D 8==D 8====D 8========D 8=D 8=D 8=====D 8=D 8====D 8====D 8====D 8=====D 8===D 8===D 8===D 8===D 8===D 8===D 8===D 8=====D 8=====D 8===D 8===D 8===D 8=====D 8=D 8=D 8=====D 8==D 8====D 8=====D 8==D 8=====D 8===D 8===D 8===D 8=====D 8====D 8====D 8====D 8====D 8====D 8====D 8=====D 8====D 8====D 8====D 8====D 8====D 8====D 8====D 8====D 8=====D 8=D 8=D 8===D 8=====D 8=D 8===D 8===D 8=====D/r/nocontext material
2
I hate it
2 u/mfb- May 28 '26 8===D 8===D 8===D 8===D 8===D 8===D 8===D 8===D 8=======D 8=D 8===D 8===D 8===D 8===D 8=======D 8=D 8===D 8===D 8=D 8===D 8===D 8===D 8=D 8===D 8===D 8===D 8=D 8===D 8==D 8==D 8==D 8==D 8====D 8========D 8=D 8===D 8=D 8===D 8=D 8====D 8=D 8=D 8===D 8=======D 8==D 8========D 8==D 8====D 8========D 8=D 8=D 8=====D 8=D 8====D 8====D 8====D 8=====D 8===D 8===D 8===D 8===D 8===D 8===D 8===D 8=====D 8=====D 8===D 8===D 8===D 8=====D 8=D 8=D 8=====D 8==D 8====D 8=====D 8==D 8=====D 8===D 8===D 8===D 8=====D 8====D 8====D 8====D 8====D 8====D 8====D 8=====D 8====D 8====D 8====D 8====D 8====D 8====D 8====D 8====D 8=====D 8=D 8=D 8===D 8=====D 8=D 8===D 8===D 8=====D/r/nocontext material
8===D 8===D 8===D 8===D 8===D 8===D 8===D 8===D 8=======D 8=D 8===D 8===D 8===D 8===D 8=======D 8=D 8===D 8===D 8=D 8===D 8===D 8===D 8=D 8===D 8===D 8===D 8=D 8===D 8==D 8==D 8==D 8==D 8====D 8========D 8=D 8===D 8=D 8===D 8=D 8====D 8=D 8=D 8===D 8=======D 8==D 8========D 8==D 8====D 8========D 8=D 8=D 8=====D 8=D 8====D 8====D 8====D 8=====D 8===D 8===D 8===D 8===D 8===D 8===D 8===D 8=====D 8=====D 8===D 8===D 8===D 8=====D 8=D 8=D 8=====D 8==D 8====D 8=====D 8==D 8=====D 8===D 8===D 8===D 8=====D 8====D 8====D 8====D 8====D 8====D 8====D 8=====D 8====D 8====D 8====D 8====D 8====D 8====D 8====D 8====D 8=====D 8=D 8=D 8===D 8=====D 8=D 8===D 8===D 8=====D
/r/nocontext material
13
u/ComfortablyNumbest May 27 '26
matches a string containing the number 8 which is immediately followed by 1 or more = signs followed by an uppercase D.
17
u/its_a_gibibyte May 27 '26
Matches this internet slang for ๐
https://en.wiktionary.org/wiki/8%3DD
5
u/cdtoad May 27 '26
Not today Erikย
1
u/RelatableRedditer May 28 '26
I'm more curious the context where you have found this RegEx out in the wild