Login Register


[Golfing] Filter filter_list
Author
Message
RE: [Golfing] Filter #11
(08-28-2015, 12:28 AM)Shebang Wrote: What the hell are you doing putting the print on another line? Save your bytes!

Also, in my defense I've never learned Regex Tongue

Oh, that was retarded. Fixed. Tongue

Reply

RE: [Golfing] Filter #12
J:
Code:
s =. 1!:1 < 'file.txt' .# ('[[:alpha:]]+' rxmatches s) rxfrom s

Code:
+-----+-----+--+----+----+--------+----+--------+----+ |Hello|world|Oh|fuck|what|happened|here|Alrighty|then| +-----+-----+--+----+----+--------+----+--------+----+

Reply

RE: [Golfing] Filter #13
(09-03-2015, 04:55 AM)0xDEAD10CC Wrote: J:
Code:
s =. 1!:1 < 'file.txt' .# ('[[:alpha:]]+' rxmatches s) rxfrom s

Code:
+-----+-----+--+----+----+--------+----+--------+----+ |Hello|world|Oh|fuck|what|happened|here|Alrighty|then| +-----+-----+--+----+----+--------+----+--------+----+

Huh. Never heard of J. Nice job. (Sadly, it's been too long since I created the thread to add you to the leaderboard :c)
It's often the outcasts, the iconoclasts ... those who have the least to lose because they
don't have much in the first place, who feel the new currents and ride them the farthest.

Reply

RE: [Golfing] Filter #14
I can get it down to 48:
Code:
s=.1!:1<'f' .#('[a-zA-Z0-9]+'rxmatches s)rxfrom s

Reply

RE: [Golfing] Filter #15
(09-03-2015, 04:57 AM)Chitoge Wrote: Huh. Never heard of J. Nice job. (Sadly, it's been too long since I created the thread to add you to the leaderboard :c)

Added him.

Reply







Users browsing this thread: 1 Guest(s)