Members in Shoutbox
None.
Shoutbox Search
Shoutbox Commands
/w [name] > Whisper
/r > Reply to last whisper /me > Marks as action Shoutbox Information
Moderators may delete any and all shouts at will.
|
Global Shoutbox
Please log in to shout.
[2015-3-10. : 3:12 am] O)FaRTy1billion[MM] -- I was about to ask what part of a word is the front and what is the back[2015-3-10. : 3:12 am] Roy -- I guess I should have used "start" and "end" instead of "front" and "back" respectively.[2015-3-10. : 3:11 am] Roy -- So \b(roy)\b wouldn't match on "destroy" because of the word boundary in the front, nor would it match on "royal" because of the word boundary in the back. However, something like "roy-gallant" or "%roy" would match because those characters aren't considered parts of words, so it would match "roy" as a word in them.[2015-3-10. : 3:08 am] Roy -- Anything that isn't an alphanumeric character or an underscore wouldn't be considered part of the word.[2015-3-10. : 3:05 am] O)FaRTy1billion[MM] -- other than the {2} thing, the ^$s were part of my guess but I wasn't sure if I was reading what it said correctly[2015-3-10. : 3:05 am] Roy -- If you were trying to partial match, you should at least have it wrapped in word boundaries if the condition is finding a binary number with exactly two 1's.[2015-3-10. : 3:03 am] jjf28 -- did pen-and-paper regex in cs theory i guess, doesn't tell me terribly much about programming it tho[2015-3-10. : 3:03 am] O)FaRTy1billion[MM] -- RoyRoy shouted: 001011010 would get a partial match. For shame. Something like [^01]*0*10*10*[^01]* ? I've never tried anything like that. [2015-3-10. : 2:59 am] jjf28 -- closest i know to regex: http://www.cplusplus.com/reference/cstdio/scanf/[2015-3-10. : 2:59 am] Moose -- Either do a lot of work with text files, or use a unix/linux shell, most shells implement some form of regex.[2015-3-10. : 2:58 am] Moose -- Dem0nDem0n shouted: how do you know that By using it, really. The best way to learn regex is to use it.[2015-3-10. : 2:54 am] O)FaRTy1billion[MM] -- Dem0nDem0n shouted: like how does that work for when the 1's are right next to each other * is 0 or more.[2015-3-10. : 2:53 am] O)FaRTy1billion[MM] -- Dem0nDem0n shouted: how do you know that By paying attention in class[2015-3-10. : 2:53 am] Dem0n -- like how does that work for when the 1's are right next to each other [2015-3-10. : 2:53 am] O)FaRTy1billion[MM] -- Mini Moose 2707Mini Moose 2707 shouted: See, that's the kind of answer that means you're the type that needs to be told 0 or more. I expressly ignored your qualifier. [2015-3-10. : 2:51 am] Moose -- See, that's the kind of answer that means you're the type that needs to be told 0 or more.[2015-3-10. : 2:32 am] O)FaRTy1billion[MM] -- that's the one. Also moose, yours wouldn't grab like 00110000[2015-3-10. : 2:32 am] Moose -- jjf28jjf28 shouted: not that i know what the regex for wildcard is .*[2015-3-10. : 2:31 am] jjf28 -- Dem0nDem0n shouted: eg. 0010100, 00110000, 110000, 11, 00100000001, etc if it's a string do: wildcard 1 wildcard 1 wildcard[2015-3-10. : 2:31 am] O)FaRTy1billion[MM] -- I still need to play Mario Galaxy .. I've played like the first world[2015-3-10. : 2:22 am] Zoan -- ExcaliburExcalibur shouted: I have come to the conclusion that I hate living. but why[2015-3-10. : 2:04 am] Generalpie -- Which is the first time I've ever said that ever, including playing some games on my friend's Oculus Rift[2015-3-10. : 2:02 am] Fire_Kame -- GeneralpieGeneralpie shouted: Generalpie Fire_Kame Explains why I didn't care much to look then m-monster[2015-3-10. : 2:02 am] Generalpie -- GeneralpieGeneralpie shouted: She's from Super Mario Galaxy right? Fire_KameFire_Kame shouted: yesssss Explains why I didn't care much to look then [2015-3-10. : 1:59 am] Fire_Kame -- She's also my favorite character in mario kart wii...haven't unlocked her in the wii u version yet[2015-3-10. : 1:57 am] Fire_Kame -- I think its the principal of it. diddy kong merch for days and jack for rosalina |