badkins has quit [Remote host closed the connection]
skapata has quit [Ping timeout: 268 seconds]
skapata has joined #racket
codaraxis__ has joined #racket
codaraxis has joined #racket
codaraxis___ has quit [Ping timeout: 260 seconds]
badkins has joined #racket
codaraxis__ has quit [Ping timeout: 272 seconds]
sonny has joined #racket
badkins has quit [Ping timeout: 260 seconds]
sonny has quit [Quit: Client closed]
sonny has joined #racket
codingquark has quit [Ping timeout: 268 seconds]
codingquark has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
mfiano has quit [Quit: WeeChat 3.6]
mfiano has joined #racket
fanta1 has joined #racket
ur5us has quit [Ping timeout: 272 seconds]
jao has quit [Ping timeout: 264 seconds]
ur5us has joined #racket
sonny has quit [Quit: Client closed]
skapata has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 272 seconds]
ttree has quit [Ping timeout: 246 seconds]
m1dnight has quit [Quit: WeeChat 3.7]
m1dnight has joined #racket
ur5us has quit [Ping timeout: 272 seconds]
codaraxis__ has joined #racket
codaraxis has quit [Ping timeout: 246 seconds]
thegeekinside has quit [Ping timeout: 260 seconds]
ur5us has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
fanta1 has quit [Quit: fanta1]
fanta1 has joined #racket
fanta1 has quit [Quit: fanta1]
ur5us has quit [Ping timeout: 272 seconds]
fanta1 has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
sonny has joined #racket
ec_ has quit [Remote host closed the connection]
ec_ has joined #racket
badkins has joined #racket
badkins has quit [Remote host closed the connection]
thegeekinside has joined #racket
sonny has quit [Quit: Ping timeout (120 seconds)]
jao has joined #racket
msiism has joined #racket
<msiism>
I wonder how I'd be able to match a literal backslash with regexp-match. The way I've been trying to do it gave me errors: http://paste.debian.net/plainh/bc750437
<msiism>
I thought that, as with every other regex meta character, escaping the backslash itself twice in the regex would do the job.
ttree has joined #racket
<samth>
msiism: you need one more \
<msiism>
I see. So, how do the 3 backslashes to escape the literal one work then?
<msiism>
The 3rd one escaped the backslash itself, the 2nd one prevents that escaped backslash as being treated as a string escape character and then first one?
<msiism>
s/as being/from being/
<samth>
msiism: you need a string literal that has two characters in it -- one which is a backslash, and one which escapes the backslash from the perspective of the regex engine
<samth>
but to write a string literal with one \ you need to escape it, so you need two escapes
<msiism>
Okay, after reading that twice, I think I get it.
<msiism>
"\\\\" becomes "\\" which is then treated as literal "\".
<samth>
yes
<msiism>
Okay, thanks.
* msiism
makes a note.
skapata has joined #racket
msiism has quit [Quit: Konversation vaporized.]
sonny has joined #racket
fanta1 has quit [Quit: fanta1]
skapata has quit [Read error: Connection reset by peer]
ur5us has joined #racket
sonny has quit [Ping timeout: 244 seconds]
sonny has joined #racket
xgqt has quit [Ping timeout: 252 seconds]
xgqt has joined #racket
ec_ has quit [Remote host closed the connection]
sonny has quit [Quit: Client closed]
sonny has joined #racket
ec has joined #racket
ur5us has quit [Ping timeout: 272 seconds]
ur5us has joined #racket
aidalgol_ has joined #racket
aidalgol has quit [Ping timeout: 252 seconds]
aidalgol_ is now known as aidalgol
codaraxis___ has joined #racket
codaraxis__ has quit [Ping timeout: 272 seconds]
rekahsoft has joined #racket
rekahsoft has quit [Read error: Connection reset by peer]