Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Translate "Function" and "Exception" part oflibrary/re.po#996

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mattwang44 merged 2 commits intopython:3.13frommattwang44:re-func-exc
Feb 23, 2025

Conversation

mattwang44
Copy link
Collaborator

related issue:#631

Copy link
Collaborator

@beccalzhbeccalzh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

review part 1:rst:1001

"``\\g<number>`` 使用對應的群組編號;因此 ``\\g<2>`` 等價於 ``\\2``,但在諸如 "
"``\\g<2>0`` 之類的替換中並非模糊不清 (isn't ambiguous)。``\\20`` 將被直譯為對"
"群組 20 的參照,而不是對後面跟著字面字元 ``'0'`` 的群組 2 的參照。反向參照 "
"``\\g<0>`` 會取代以 RE 所匹配到的整個子字串。"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

想問個replacesubtitute,有需要統一分別翻成替換取代嗎?

Copy link
CollaboratorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

還好欸我覺得及意且通暢就好

mattwang44and others added2 commitsFebruary 17, 2025 11:22
Co-authored-by: Becca <61359625+beccalzh@users.noreply.github.com>
@mattwang44mattwang44 merged commitcc8bdcc intopython:3.13Feb 23, 2025
1 check passed
@mattwang44mattwang44 deleted the re-func-exc branchFebruary 23, 2025 09:46
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@beccalzhbeccalzhAwaiting requested review from beccalzh

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@mattwang44@beccalzh

[8]ページ先頭

©2009-2025 Movatter.jp