Page MenuHomePhabricator

[2/n] Native Typeahead - Adding utility file and native regex
ClosedPublic

Authored by przemek on Jan 18 2023, 8:50 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 17, 6:40 AM
Unknown Object (File)
Wed, Apr 17, 6:40 AM
Unknown Object (File)
Wed, Apr 17, 6:40 AM
Unknown Object (File)
Wed, Apr 17, 6:40 AM
Unknown Object (File)
Wed, Apr 17, 6:40 AM
Unknown Object (File)
Wed, Apr 17, 6:39 AM
Unknown Object (File)
Wed, Apr 17, 6:37 AM
Unknown Object (File)
Feb 23 2024, 12:26 AM

Details

Summary

Native regex is a little bit different than web one as there are no named captruing groups yet on native.
See: https://linear.app/comm/issue/ENG-2456/rewrite-typeahead-regexes-when-named-capturing-groups-are-released-for#comment-4bb6cf1e

Test Plan

Checked if regex works in online editor.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Jan 18 2023, 8:54 AM
Harbormaster failed remote builds in B15437: Diff 21046!

Native regex is a little bit different than web one as there are no named captruing groups yet on native.
See: https://linear.app/comm/issue/ENG-2456/rewrite-typeahead-regexes-when-named-capturing-groups-are-released-for#comment-4bb6cf1e

I would add this as a code comment

I agree it would be good to leave a comment that web is on purposely different

This revision is now accepted and ready to land.Jan 24 2023, 4:05 AM
native/utils/typeahead-utils.js
6 ↗(On Diff #21261)

Typo