#perl - Tue 3 Apr 2007 between 17:39 and 17:42



dazjorzAni-_: Recovery utility such as?
kalilaI have a string e.g "some long string with lots of words", i wanna return an array of all combinations of two words there, such as "some long", "long string", eg... , I can use /\w \w/ but that will return every two words apart
Ani-_dazjorz: resizin a partition without a backup is always a bad idea...
kalilathis is a problem for the re-gurus :)
Ani-_dazjorz: resizing is not a straight-forward process...
kalila: Try: my @matches = $string =~ m/(\w+ \w+)/;
Change that into /g;
rindolfHi dazjorz
devdaskalila: split the string into an array, then print consecutive pairs from the array
dazjorzHi rindolf :)
LinuxMafiahi rindolf
rindolfdazjorz: what's up?
devdasjust because you can use regular expressions does not mean you should
LinuxMafiahave you ever worked with selenium?
rindolfdazjorz: still working on dazbot?
devdas: hi.
Ani-_devdas: that won't work for some " string. It will print some and ".
dazjorzrindolf: DazNET, but nah, haven't stared rewriting it yet
rindolfdevdas: are you Indian?
Davemanrindolfs
rindolfdazjorz: rewriting it?
Davemandazjorz \o/
rindolfHi Daveman
Daveman: happy Passover.
dazjorzDaveman :)
Davemanrindolf, thanks :)
dazjorzwhat's Passover, by the way?
I know what easter is...
Davemanrindolf, how many seders have YOU been to lately? :p
Ani-_devdas: regular expressions are not a bad idea in this case.
dazjorzdaveman: 'wedergeboorte' /
?
Davemanheh
rindolfDaveman: this year - one.
Ani-_dazjorz: re-birth?
DavemanAh, alright. :)
rindolfDaveman: for my mother's family.
Ani-_or re-incarnation? (or however you spell it)
rindolfDaveman: my father has no siblings.
He's an only child.

Page: 1 8 15 22 29 36 43 50 57 64 71 78 85 92 

IrcArchive