Skip to content

Conversation

@seafoamteal
Copy link
Contributor

I added the following list of punctuation to be replaced by " " or "" before indexing occurs.

  • ?
  • (
  • )
  • [
  • ]
  • "
  • ;
  • :

This should ensure that cases like

Make drawings, animations, and games (HTML Canvas)

are handled correctly and that the paint package (whose description is above) shows up when someone searches for "canvas", without them having to search for "canvas)".

Added parentheses, square brackets, questions marks, double quotes, em dashes, colons, and semicolons
Forgot to actually include the question mark last time
Copy link
Member

@lpil lpil left a comment

Choose a reason for hiding this comment

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

Could you add a test for the paint example that failed please 🙏

@seafoamteal
Copy link
Contributor Author

Of course! I've done that now.

Copy link
Member

@lpil lpil left a comment

Choose a reason for hiding this comment

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

Thank you!

@lpil lpil merged commit ad96108 into gleam-lang:main Oct 24, 2025
2 checks passed
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