Skip to content

Conversation

@machinewu
Copy link

Fix TypesettingTools/Aegisub#347, TypesettingTools/Aegisub#521

  • Fix incorrect examples
  • Correct parameter order of re.sub and remove non-existent return value rep_count
  • Add examples illustrating backslash usage in pattern and replacement
  • Improve other translations in the re module's Chinese doc

Here is a Lua-based Aegisub plugin includes test outputs for all examples in the re module doc.
test_re.zip

Fix TypesettingTools/Aegisub#347, TypesettingTools/Aegisub#521

- Fix incorrect examples
- Correct parameter order of `re.sub` and remove non-existent return value `rep_count`
- Add examples illustrating backslash usage in pattern and replacement
- Improve other translations in the `re` module's Chinese doc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A minor typo in the document

1 participant