« first day (559 days earlier)      last day (3233 days later) » 

3:11 AM
Wake up! lol
 
3:44 AM
yes sir
@hwnd what up?
 
Ah not much just working on some things.
 
 
10 hours later…
1:55 PM
@Matt3o That is not true. Regex is almost always inefficient compared to doing it yourself. This is because Regex implementations do not run on real machines, but state machines. Therefore when going with performance, don't use regex. (Trust me, I have a bronze badge for both java and regex. :) ) — Unihedron 2 mins ago
Am I right?
 
2:37 PM
@Unihedron showcasing your badges like that, dunno what to say...
 
@CSᵠ I deleted that part shortly afterwards, but is it true that regex is slower?
 
regex is damn fast actually
i was surprised to find out a while ago
and then.. you can even optimize your regex
 
Comparing a optimal regex and an optimal self-built parser for string matching tasks (match only, no capture), which do you think runs faster?
 
prolly regex
depends a lot on the implementation in the parser
for regex it depends on the engine alone
 
Yeah, I realized. I guess "optimal parser" is pretty vague.
 
2:42 PM
regexp -> regex engine -> text
^only one extra layer, dunno what to say about other parsers, need to be checked/bencvhmarked
 
The engine still has to do stuff though. It's not like implementations of regex can get away with a cloud and no read-write from the operations.
 
@Unihedron but please do a test in Java, I was pleased to find out a regex (both exact match+capture) was way faster than PHP's url parsers+some if code(here and there)
 
I'll do a test in Java, but I think PHP's regex implementation uses PCRE, and PCRE is really optimized.
 
@Unihedron yeah, but then you know when to optimize in your regex, possesive there/verbs/*or+ etc
indeed PCRE
<3 PCRE !
 
Thanks for the clarification. :) Yeah, PCRE is the best. I still couldn't find a PCRE library for Java, and can't give PCRE regex support for my software. Bad decision to code them in Java. :P
 
2:47 PM
.NET ?
 
 
4 hours later…
6:51 PM
question
i've got this so far for matching any kind of whitespace/invisible chars /[\0\pC\pZ]+/i does it miss anything ?
@Jerry hey, care to give 2c ^
 
hmm, no idea. I never dealt with invisible chars lol
I only ever used null, but that's about it
 
3x combo ping @hwnd @hwnd @Unihedron ^ :)
 
7:22 PM
I'll have to take a look when I get home later.
 
7:38 PM
cool
hmm, seems i typoed you again instead of @HamZa... ohh well, then @HamZa was not pinged
+ \s
 
 
2 hours later…
9:35 PM
lol, hwnd got double pinged xD
 
9:49 PM
:)
atm i have this: /[\0\pC\pZ\s]+/i and it seems to do the job faily well
no miss so far
 
 
1 hour later…
11:02 PM
Is this another dupe of what does this regex mean? ? stackoverflow.com/q/22308726/3622940
 
Any one good at graphic/logo design?
 

HTML / CSS / WebDesign

This room is now defunct. RIP.
^ most of those guys
 
Lol I can't just storm into a chat room and be like hey guys I need a logo.
 
@hwnd lol
justasex
umm
interesting service...
@CSᵠ how many votes does it need @hwnd ?
 
11:23 PM
@hwnd Ask on User Experience? They do UI stuff, but I'm not sure if graphics is on-topic :p
 
:)
@CSᵠ / @Unihedron what do you think about this?
 
Actually, Graphic Design sounds helpful if you can put together a good question there.
@CSᵠ Can't think of anything else it can't match really.
 
@Unihedron isn't \0 extra? i mean included in others maybe...
 
@CSᵠ It matches the null character, right?
 
yes
 
11:28 PM
Why do you have the case insensitive flag? :P
 
I was asking because I'm gonna need a simple logo for the site before its launched
I got the domain registered, just got to get busy with the site and content..
 
@Unihedron forgot it, that's just a bit of regex from a huge one :)
 
And a favicon along with it, I guess?
 
@hwnd use some open vector templates and create a simple one, export in 2-3 colors and... profit
 
1. Ask if anyone is good at graphics / logo design in the RegEx chat room.
2. ???
3. Profit!
:)
 
11:34 PM
This will be the new site for explicit regex info. regexdoc.com
 
@Unihedron ohh well... it might work :P
 
@hwnd Coming Soon.... Oh the tense and suspense :)
 
All suggestions for features are welcome, submit an issue. github.com/regexdoc/regexdoc
And I answered my first question today using \p{Lu}
=)) lol
 
Have my star. :P
 
umm.. so..
still need to find out the list of chars(ranges) \p uses for classes
really ossm sometimes (+easy to type)
 
11:38 PM
Java uses that a lot. They are like \p{Upper}, though.
 
^ anothe reason java sux
lol
 

« first day (559 days earlier)      last day (3233 days later) »