Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Re: Positive lookahead in multiline strings (was gsub
Pit Capitain
7/27/2006 11:06:00 AM
Robert Dober schrieb:
> I came up with the perfect solution to replace the last occurence of a
> pattern (if it is simple, thus not of any interest to the OP of the OT).
> (...)
> Is there a way to anchor on the end of the string in multiline strings.
Robert, that's \z. See for example
http://phrogz.net/ProgrammingRuby/language.html#regularexpressi...
Regards,
Pit
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: Positive lookahead in multiline strings (was gsub
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password