Regular Expressions in Views Filter Criteria should be case sensitive.

Created on 23 March 2019, almost 6 years ago
Updated 25 September 2024, 3 months ago

While I understand regular filter options being case insensitive for usability purposes, regular expressions are expected to be case sensitive unless it is otherwise specified. In my specific use case, I am using views to list IRC channels (but not list channels with certain modes applied)... IRC modes are case sensitive. I assumed that by using a regex, I would bypass the default behavior of case insensitivity, but this wasn't the case.

Alternatively, a "case sensitive?" option could be available when making a views filter.

✨ Feature request
Status

Active

Version

11.0 πŸ”₯

Component

views.module

Created by

πŸ‡ΊπŸ‡ΈUnited States naia Brunswick, GA

Live updates comments and jobs are added and updated live.
  • views

    Involves, uses, or integrates with views. In Drupal 8 core, use the β€œVDC” tag instead.

  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States charles belov San Francisco, CA, US

    Another use case is accessibility. Words in all caps can be misread by screen readers. Sentences in all caps also present cognitive load to some - myself included - and are also harder for people with low vision to read. Therefore, we want to be able to review all content in all caps to ensure that they are acronyms/initialisms and not words in all caps. Definitely two consecutive word units in all caps would be highly suspicious as being words in all caps.

    Adding accessibility tag. While it doesn't affect Drupal's accessibility, it is a blocker to monitoring for accessibility in editor content.

Production build 0.71.5 2024