Created
July 8, 2010 07:54
-
-
Save mrsimo/467747 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
line = " Transferencia al C.Cost 9100000012 -594,00 15/03/10 traspas fundacio A.Mass\363" | |
regexp = /^(.+)\s+([-|\d|\.|,]+)\s+(\d+\/\d+\/\d+)\s+(.+)*$/ | |
line.match(regexp) # => 1min at 100% cpu usage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment