Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re^3: Regular expression help

by karlgoethebier (Prior)
on Mar 12, 2013 at 09:58 UTC ( #1022955=note: print w/replies, xml ) Need Help??

in reply to Re^2: Regular expression help
in thread Regular expression help

"But I need it in regular expression"

So take this one to continue:

Update: For some unknown reason i skipped a column, sorry:

#!/usr/bin/env perl my $line = 'brown vihl729 (v2013.02) (elicserv 6260), start Mon 3/11 18:31'; $line =~ m/(\w+)\s ([0-9a-z]+)\s [0-9.:()_]+\s \(.+\)\s \(([a-z0-9.]+).+\) ,\s [\w\s]+ (\d+\/\d+\s\d+:\d+) /x; print qq($1 $2 $3 $4\n); __END__ Karls-Mac-mini:monks karl$ ./ brown vihl729 3/11 18:31

(If something still makes sense...)


«The Crux of the Biscuit is the Apostrophe»

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1022955]
[ambrus]: Corion: the solution depends on who for. Some non-math presentations need to show lots of graphics or photos, with fine details and color. For those, blackboard or overhead transparencies aren't so good (yes, you can print on transparencies, but there's s
[ambrus]: ome quality limits), but film projection or computer projector is fine.
[ambrus]: A minority of math presenters are traditional and don't want to operate a computer. For them, handwritten overhead transparencies and blackboard are fine.
[Corion]: BTW, has anybody seen the Microsoft Surface Studio thing live?
[ambrus]: Some will operate a computer, but want to operate crazy unusable android-like GUIs. For those, printed overhead transparencies or simple slide editors and maybe even tablets are fine.
[ambrus]: Some people like me are fine in learning how to use some custom user interface. For me, I might want to make some keyboard- controlled interactive live slide writer program, like I said in the hypothetical case when I have lots of years of free time for th
[Corion]: ambrus: Some of my math professors delegated TeX-ing of the exercises etc. to their secretaries :) But they all had very neat handwriting and good blackboard operation anyway ;)
[ambrus]: is.

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (8)
As of 2017-09-26 10:36 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (293 votes). Check out past polls.