Eli

Results 430 comments of Eli

Ok, so I just discovered that you can pass a regex into the new Regex constructor, and it'll overwrite the flags. That prevents the "I forgot the `u` flag" pitfall...

Not at all a minimal reproduction (I'll try to write one sometime), but at least a full project: Effect-TS/website#770.

Ok, it turns out that it's about order: https://github.com/Effect-TS/website/compare/23debaa8e1ef70ee534ef21097a99d5361932882..20608435dcc90deb7616af2b89bacdf28cd4fb37 (ignore the CSS changes)

> Thanks for your suggestion @lishaduck but it doesn't work. Turns out that after applying all your new suggestions, what I get is a `\` code block that just loses...

So that I don't forget: > `pattern instanceof RegExp ? pattern : new RegExp(pattern, 'u')` > https://github.com/sindresorhus/eslint-plugin-unicorn/blob/1deb9bb5edf27fdb2f656add11c924dfa59fdac9/rules/prevent-abbreviations.js#L54 I'd expected that to be harder.

Maybe I'm missing something, but may I ask why `deferredLoading: kIsWeb` doesn't work? EDIT: Oh wait, it's in the annotation at build time, not run time 🤦‍♂️. I don't think...

> We don't use aliases, afaik. Can you share more details about the contents of `/Users/username/.local/bin/some-package` and the target of `/Users/username/.local/share/uv/tools/some-package/bin/python3`? Sure! For `ipython`, `/Users/username/.local/bin/ipython` is a symlink pointing to...

> Per a brief Google search > > > Aliases store two pieces of information about the destination file - both the location and a file identifier. Symbolic links only...

> Can you confirm this occurs on the latest version of uv if you install a new tool? Oh, I installed uv via the Homebrew formula as well ([it doesn't...

Possibly related: #943