Skip to content

Use index instead of name for device ID regex group - #376

Merged
dwalton76 merged 1 commit into
developfrom
remove-named-regex-groups
Sep 26, 2017
Merged

dwalton76 merged 1 commit into
developfrom
remove-named-regex-groups

Conversation

@WasabiFan

Copy link
Copy Markdown
Member

This is the most important change from #346. With this change, the core motors work on the Micropython platform. This opens the door for official Micropython support down the road.

@WasabiFan WasabiFan mentioned this pull request Sep 25, 2017

@dwalton76 dwalton76 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I'm missing something, this value returned will be the same it just doing so without using a named group?

@WasabiFan

WasabiFan commented Sep 26, 2017 •

Copy link
Copy Markdown
Member Author

@dwalton76 Correct, no functional changes. The minimal implementation of re that Micropython provides doesn't support named groups.

@dwalton76

Copy link
Copy Markdown
Collaborator

Ah makes sense now

@dwalton76
dwalton76 merged commit b33533e into develop Sep 26, 2017
@ddemidov
ddemidov deleted the remove-named-regex-groups branch September 26, 2017 03:34
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.

2 participants