ApOgEE | salam | 01:16 |
---|---|---|
ApOgEE | :) | 01:16 |
ApOgEE | siapa pandai PHP kat sini yg mencari kerja? | 01:17 |
ApOgEE | aku ada peluang kerja... tolong warwarkan | 01:17 |
palkadot | salam | 01:27 |
ApOgEE | salam | 01:34 |
ApOgEE | :) | 01:34 |
fairuz | pagi rakan2 | 02:01 |
ApOgEE | pagi fairuz | 02:23 |
ApOgEE | :D | 02:23 |
fairuz | ApOgEE: ohh ade kat sini hehe | 02:28 |
fairuz | ApOgEE: tengah mengumpul team nampak | 02:28 |
fairuz | +1000 | 02:28 |
ApOgEE | heheheh | 02:36 |
ApOgEE | tengah mengumpul team... nak bikin dev team utk projek kecil-kecilan je dulu. | 02:37 |
ApOgEE | dah cukup modal, baru bikin projek mega | 02:37 |
ApOgEE | hahaha | 02:37 |
ApOgEE | hey ho KatieKitty | 03:01 |
fairuz | ApOgEE: ok dah tu, tanda berkembang | 03:02 |
excalibr | angch, have you heard back from tm about your repo the other day? | 08:56 |
fairuz | yo excalibr | 08:59 |
excalibr | ohai ther | 09:02 |
excalibr | apogee nak bikin dev team..dia dah quit keje ke? | 09:03 |
fairuz | dia dah lama solo kan | 09:04 |
fairuz | kumpul team tu nak kembangkan bisnes apogeek dia la tu | 09:04 |
excalibr | oo..patut la. aku igtkan bisnes printing tu side job dia | 09:05 |
angch | excalibr, ? | 09:18 |
angch | excalibr, context? | 09:18 |
angch | what repo? | 09:18 |
excalibr | oo angch dah lupa | 09:46 |
excalibr | psl repo slow hari tu | 09:47 |
fairuz | any regex guru here? | 09:47 |
fairuz | :) | 09:47 |
excalibr | fairuz, tak reti mana tapi berminat nak tau masalah | 09:48 |
excalibr | kuikui | 09:48 |
fairuz | nak match 0001 sampai 9999 | 09:51 |
fairuz | tapi tanak 0000 | 09:51 |
fairuz | nampak mcm simple je, tapi aku dah pening keke | 09:51 |
excalibr | ko kena pecah ke >1 segmen | 09:53 |
fairuz | yang 3 character first tu takde problem | 09:54 |
fairuz | yg character last tu dia boleh jadi \d tapi dia boleh jadi [1-9] | 09:54 |
fairuz | *jugak | 09:54 |
angch | excalibr, oh okay. :) no change, tapi sekarang dah kurang jam sikit. | 09:55 |
angch | (/me ingat projek lain) | 09:55 |
angch | fairuz, guna dua regex. | 09:56 |
excalibr | angch, igatkan tm tanya sebab nak sponsor bandwdith? | 09:56 |
fairuz | angch: (?!0000)\d{4} seems working, need to test more | 09:57 |
angch | /\d{4}+/ then not /0000/ | 09:58 |
fairuz | I think (?!0000)\d{4} does exactly that. Negative look ahead thing | 09:59 |
fairuz | Shit, each time I use regex, I will get headache | 10:02 |
angch | excalibr, heh, long story. bottom line, malas nak potong and reconnect, etc. bah. | 10:02 |
excalibr | kalau ^(?:000[1-9]|00[10-99|0[100-999]|[1000-9999])$ | 10:04 |
fairuz | excalibr: tak matching ape2 aku test yg tu | 10:08 |
fairuz | dah ok kot, I will stick to (?!0000)\d{4} | 10:08 |
excalibr | /facepalm | 10:12 |
excalibr | sejak bila num range boleh tulis camtu | 10:12 |
angch | excalibr, give it up lah. no way you can make it work in a single regex and still make it fast and readable. | 10:12 |
fairuz | negative lookahead ni | 10:13 |
excalibr | angch, i just did..i got mixed up num range in {} with regex numeric range | 10:14 |
excalibr | fairuz, the facepalm was for me | 10:15 |
angch | fairuz, yeah, that regex works. | 10:15 |
angch | still not a fan of negative lookaheads. | 10:17 |
* fairuz being a regex noob. Only know about it just now while reading the web. :) | 10:19 | |
=== Romance_ is now known as Romance | ||
fzlamn | test.. | 15:14 |
angch | ..failed | 15:15 |
fzlamn | failed ek? | 15:18 |
fzlamn | sunyi macam selalu. | 16:42 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!