Recent Activity

Made a few quality-of-life improvements to https://regular.express today (my visual regular expression tool):

  • Character sets are rendered more clearly, have improved keyboard navigation, and can now be negated (putting a ^ at the beginning).
  • Keyboard shortcuts should work correctly on macOS.
  • More regex syntax is parsed and passed through even when it cannot be edited, making the tool more useful for quick edits to existing regexes.
  • I also removed 12MB of zeroes from the executable that LLVM left in there for some reason.

&regex

View original message on Discord

I can now compose this entire regex in my visual regex builder without touching the mouse. This is pretty exciting to me - this tool should be useful for both beginners and power users.

View original message on Discord

Hand-writing some WASM for fun. This is a memchr implementation that is being used to check if the character following a backslash is a valid "metacharacter" in a regex. No real reason to write this in WASM directly except to learn it better.

View original message on Discord

Making text input feel right is a lot of work, but it's paying off. This video demonstrates the same cursor and selection code being applied to two separate data structures, neither of which is a buffer of chars.

Tonight I made my regex builder distinguish between "insert index" and "cursor index/position", which allows me to display the cursor on the right or left side of an element without affecting how inserts and deletes work.

View original message on Discord

Visual regex builder: now 200% prettier and rounder. (Gotta file down those sharp edges!) Also now has a bunch more keyboard shortcuts; I think when this is done it will be really powerful even without the mouse.

View original message on Discord