searchfe / searchfe/ts2php

match无法全局匹配

Open
#124 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.