-
Notifications
You must be signed in to change notification settings - Fork 5
v1.0: Remove Regex, keep only Regexp for clarity #9
Copy link
Copy link
Open
Labels
area: apiPublic API (Compile, Match, Find, Replace)Public API (Compile, Match, Find, Replace)compat: stdlibGo stdlib regexp API compatibilityGo stdlib regexp API compatibilityeffort: 3Medium, ~1 dayMedium, ~1 daypriority: mediumNormal priorityNormal prioritytype: refactorCode cleanup, no behavior changeCode cleanup, no behavior change
Metadata
Metadata
Assignees
Labels
area: apiPublic API (Compile, Match, Find, Replace)Public API (Compile, Match, Find, Replace)compat: stdlibGo stdlib regexp API compatibilityGo stdlib regexp API compatibilityeffort: 3Medium, ~1 dayMedium, ~1 daypriority: mediumNormal priorityNormal prioritytype: refactorCode cleanup, no behavior changeCode cleanup, no behavior change
Type
Projects
Status
Todo
Suggestion from Ben Hoyt (GoAWK author).
Current state: We have both:
Regex- original type nameRegexp- alias for stdlib compatibility (v0.8.1)Problem: Having both names causes confusion.
Proposal for v1.0:
type Regextype Regexpas the canonical typeRegexpMigration path:
Regex, warn usersRegexentirelyRelated: benhoyt/goawk#264 (comment)