RFR: 755: Anything starting with a "/" is treated as a command

Erik Joelsson erikj at openjdk.org
Fri Feb 24 17:23:51 UTC 2023


On Fri, 24 Feb 2023 17:09:56 GMT, Vijay Kulkarni <duke at openjdk.org> wrote:

> Thanks for the above feedback, so as per the suggestions I will 1. consolidate the patterns and move those to the common module 2. modify the regex to verify that the command starts with a lowercase

We don't need to match any capital letters in command names as we don't have any such commands.

> **Question**: In case the command starts with '/' but does not match with the standard command regex, do we need to provide suggestions based on the mistyped command in the message (e.g. Do you mean 'integrate' instead of 'intergate'?) or a generic warning message suggested by Kevin well enough?

The generic message is enough.

-------------

PR: https://git.openjdk.org/skara/pull/1479


More information about the skara-dev mailing list