Re: add to words syntaxes

Actually, you may have problems with the tab searching,
because these get converted to several blanks in a row
when read by IO.readlines -
but that can be corrected by letting a column separator
be at least n blanks wide and searching for that -
say, for at least 5 blanks as a separator -

if x=~/ {5,}/
# first alternative
# second alternative

Sorry for the confusion…

Best regards


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs