match无法全局匹配
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 98
- Forks
- 20
- Avg merge
- 5m
- Merged PRs (30d)
- 3
Description
match(/<a(.*?)</a>/g)匹配结果不对
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported match(/<a(.*?)</a>/g) case and trace how global regular-expression matches are handled in the TypeScript-to-PHP translation. Confirm the expected matches for multiple anchor elements, then add or update coverage for this example and verify the generated PHP behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, typescript
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100