On Fri, Mar 11, 2011 at 8:36 AM, vahag vardanyan
<vahagvardanyan / gmail.com>wrote:

>
> how can I do it in ruby
> my example is
> while(line=f.gets(sep="class#{i}  here will be any text    "))
> ...
> ...
> i+=1
> end
>
> --
> Posted via http://www.ruby-forum.com/.
>
>
Sorry, what is this supposed to do? It looks like you are wanting to use
glob patterns in your line delimiter? I suspect this is not the best
approach to solving this problem, could you give an example of the input
file, and what values you are wanting your variable "line" to take?