You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you @0xmohit did't notice this part of the documentation.
I'm converting some PHP code to go and at first iteration trying to match the code as it is. Eventually will switch to html/template
Thanks again 👍
mikioh
changed the title
In ReplaceAllString, the expand parameter eats the word after it
regexp: In ReplaceAllString, the expand parameter eats the word after it
Oct 16, 2016
What version of Go are you using (
go version
)?go version go1.7.1 linux/amd64
What operating system and processor architecture are you using (
go env
)?What did you do?
https://play.golang.org/p/TFupLpOwFA
Workaround is to add space around the expand parameters
What did you expect to see?
<h1 id="page-title">My new wiki </h1>
What did you see instead?
<h1 id="page-title"> new wiki </h1>
The text was updated successfully, but these errors were encountered: