-
Notifications
You must be signed in to change notification settings - Fork 548
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Go+ domain-specific text #2143
Comments
xushiwei
added a commit
to xushiwei/gop
that referenced
this issue
Mar 1, 2025
xushiwei
added a commit
to xushiwei/gop
that referenced
this issue
Mar 1, 2025
Closed
xushiwei
added a commit
to xushiwei/gop
that referenced
this issue
Mar 5, 2025
xushiwei
added a commit
that referenced
this issue
Mar 5, 2025
#2143 domain-specific text: tpl, html, xml, json, csv
examples:
cl := tpl`expr = INT % ("+" | "-")`!
echo cl.parseExpr("1+2-3", nil)
echo json`{"a":1, "b":2}`
echo xml`<a>1</a>`
echo csv`a,b`
import "golang.org/x/net/html"
echo html`<html><body><h1>hello</h1></body></html>`
re := regexp`^[a-z]+\[[0-9]+\]$`!
echo re.matchString("adam[23]") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Proposal
In markdown:
In Go+:
Background
See #1770
Workarounds
none
The text was updated successfully, but these errors were encountered: