Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deprecation warnings related to regex library #11

Open
auxym opened this issue Aug 21, 2024 · 0 comments
Open

Fix deprecation warnings related to regex library #11

auxym opened this issue Aug 21, 2024 · 0 comments

Comments

@auxym
Copy link
Collaborator

auxym commented Aug 21, 2024

C:\Users\Francis\source\svd2nim\src\utils.nim(41, 8) Warning: use re2(static string) instead; re is deprecated [Deprecated]
C:\Users\Francis\source\svd2nim\src\utils.nim(42, 8) Warning: use re2(static string) instead; re is deprecated [Deprecated]
C:\Users\Francis\source\svd2nim\src\utils.nim(43, 8) Warning: use re2(static string) instead; re is deprecated [Deprecated]
C:\Users\Francis\source\svd2nim\src\utils.nim(46, 21) Warning: use replace(string, Regex2, string) instead; replace is deprecated [Deprecated]
C:\Users\Francis\source\svd2nim\src\utils.nim(60, 15) Warning: use re2(static string) instead; re is deprecated [Deprecated]
C:\Users\Francis\source\svd2nim\src\utils.nim(61, 5) Warning: use replace(string, Regex2, string) instead; replace is deprecated [Deprecated]
C:\Users\Francis\source\svd2nim\src\svdparser.nim(196, 13) Warning: use re2(static string) instead; re is deprecated [Deprecated]
C:\Users\Francis\source\svd2nim\src\svdparser.nim(199, 19) Warning: use match(string, Regex2, var RegexMatch2) instead; match is deprecated [Deprecated]
C:\Users\Francis\source\svd2nim\src\svdparser.nim(200, 20) Warning: group is deprecated [Deprecated]
C:\Users\Francis\source\svd2nim\src\svdparser.nim(201, 20) Warning: group is deprecated [Deprecated]
C:\Users\Francis\source\svd2nim\src\codegen.nim(838, 13) Warning: use re2(static string) instead; re is deprecated [Deprecated]
C:\Users\Francis\source\svd2nim\src\codegen.nim(840, 30) Warning: use match(string, Regex2, var RegexMatch2) instead; match is deprecated [Deprecated]
C:\Users\Francis\source\svd2nim\src\codegen.nim(842, 15) Warning: group is deprecated [Deprecated]
C:\Users\Francis\source\svd2nim\src\codegen.nim(843, 15) Warning: group is deprecated [Deprecated]
C:\Users\Francis\source\svd2nim\src\codegen.nim(854, 41) Warning: use re2(static string) instead; re is deprecated [Deprecated]
C:\Users\Francis\source\svd2nim\src\codegen.nim(854, 33) Warning: use replace(string, Regex2, string) instead; replace is deprecated [Deprecated]
@auxym auxym changed the title Fix deprecating warnings related to regex library Fix deprecation warnings related to regex library Aug 21, 2024
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

No branches or pull requests

1 participant