bilibili / bilibili/gengine

常量 string 赋值中包含双引号转义错误

Open
#23 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
2.1k
Forks
281
PR merge metrics
No merged PRs in 30d

Description

```
rule "name test" "i can" salience 0
begin
name = "abc\"def"
end
```

外部获取 name 的值时 print 出来 为 `abc\"def` 而不是 `abc"def`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the rule shown in the issue and inspect how the external value of name is parsed and returned. The fix is complete when the value is abc"def rather than abc\"def; no source file or test is identified in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.