#Regex Bug

3 messages · Page 1 of 1 (latest)

hollow swallow
#

Bug Report:

Steps to reproduce:

  1. how to split this String by dots but ignore "." ?
    suffix.1. &6the first . ofc

Expected result:

To split the string by dots while ignoring ".", you can use a regular expression pattern with a negative look

Actual result:

To split the string by dots while ignoring ".", you can use a regular expression pattern with a negative look

Additional information

Browser: Google Chrome
OS: Windows 11

chrome nymph
#

OK, this may seem a daft question but how can you tell the difference between . and . ?

hollow swallow
#

It should be \. instead of just .