Evaluating an expression in a RegExp
Horray! I can evaluate the right side of a regular expression! e Evaluate the right side as an expression. Wow.
Horray! I can evaluate the right side of a regular expression! e Evaluate the right side as an expression. Wow.
Lately, I’ve been doing a lot of code golf. A Lot. During the calendar challenge, I was trying to find a way to obtain the first day of the year for any given year taking into account leap years. _W_ on #codegolf/freenode was kind enough to point out Zeller’s Congruence, which I think will work out well in the final project I submit. In other news, I froze an app to Rails 1.1.6 today. It involved this: /www/ugres/ugr/config/../vendor/plugins/engines/lib/engines.rb:138:in `start_engine’: undefined [...]