What I am trying to do is that everytime the program finds one of the words
from the list in the text,
it will place an astherisc * to replace that word.
But I cannot figure out how to do this because it is an array not a regular
expression.
What I am trying to do is that everytime the program finds one of the words
from the list in the text,
it will place an astherisc * to replace that word.
But I cannot figure out how to do this because it is an array not a regular
expression.
You can interpolate it into a regex, but I don’t know how well that scales:
What I am trying to do is that everytime the program finds one of the words
from the list in the text,
it will place an astherisc * to replace that word.
But I cannot figure out how to do this because it is an array not a regular
expression.
What I am trying to do is that everytime the program finds one of the
words
from the list in the text,
it will place an astherisc * to replace that word.
But I cannot figure out how to do this because it is an array not a
regular
expression.
You can interpolate it into a regex, but I don’t know how well that
scales:
What I am trying to do is that everytime the program finds one of the
words from the list in the text,
it will place an astherisc * to replace that word.
Maybe I’m just the cynic here, but does this sound to anyone else suspicously
like a “do my homework for me” request?
Maybe I’m just the cynic here, but does this sound to anyone else suspicously
like a “do my homework for me” request?
If so, maybe we should grant Rob immunity in this case in exchange for
testifying where they give homework assignments in Ruby?
···
–
([ Kent Dahl ]/)_ ~[ Kent Dahl - Kent Dahl ]/~
))_student_/(( _d L b_/ (pre-) Master of Science in Technology )
( __õ|õ// ) )Industrial economics and technological management(
_/ö____/ (_engineering.discipline=Computer::Technology)