Search found 7 matches

by garison
Sun Nov 07, 2010 11:42 pm
Forum: General
Topic: regular expression to match the output - Ruby
Replies: 9
Views: 857

posix

yes understood, did try that. btw -- hadn't noticed that before that will be generally handy I think
by garison
Sun Nov 07, 2010 3:41 pm
Forum: General
Topic: regular expression to match the output - Ruby
Replies: 9
Views: 857

Thank you

Thank you -- I wasn's getting the shorter, and as you say simpler, rgx to work (I'm sure due to my lack of fluency in rgx) so just copied in the textedit java string, which I definately can't read at this point.

When I have a moment, going to back to yours and play and see what I was doing wrong ...
by garison
Sun Nov 07, 2010 12:51 am
Forum: General
Topic: regular expression to match the output - Ruby
Replies: 9
Views: 857

should have noticed that before

I might have noticed the ruby error matches java's in format.

^\(\(\(.[^:]\)\|\([A-Za-z]:\)\)[^:]+\):\([0-9]+\):

file 1
line 4
by garison
Sat Nov 06, 2010 11:29 pm
Forum: General
Topic: regular expression to match the output - Ruby
Replies: 9
Views: 857

thank you; getting close

thank you; not taking it yet; but will continue to try to tweak it
by garison
Sat Nov 06, 2010 9:37 pm
Forum: General
Topic: regular expression to match the output - Ruby
Replies: 9
Views: 857

error format

Thank you Ben,

error format is below, trying to extract the integer '39' on the first line, I think, is how te does it.


C:/Program Files/Ruby/work/lib/try1/domain1/recs.rb:39: syntax error
if args.size==1 then @width=args[0] end return @width
by garison
Sat Nov 06, 2010 7:08 pm
Forum: General
Topic: regular expression to match the output - Ruby
Replies: 9
Views: 857

regular expression to match the output - Ruby

Hi Group,

Anyone succeeded with regular expression to match the output for Ruby?

Don't get any search hits in that regard.

Thank You,

Gary
by garison
Mon Nov 01, 2010 7:07 pm
Forum: General
Topic: Ruby
Replies: 0
Views: 202

Ruby

Has anyone had luck setting up a Ruby (.rb) document class? Have the ruby command going fine, but not yet colors and syntax highlighting. And also currently cannot jump to the error line -- I think that maybe an rgx option 'Regular expression to match output' but have not gotten that to work yet.