Skip to content

Commit ebf3129

Browse files
authored
Update Solution.sql
1 parent 4eb47be commit ebf3129

File tree

1 file changed

+1
-1
lines changed
  • solution/3400-3499/3465.Find Products with Valid Serial Numbers

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Write your MySQL query statement below
22
SELECT product_id, product_name, description
33
FROM products
4-
WHERE description REGEXP '\\bSN[0-9]{4}-[0-9]{4}\\b'
4+
WHERE description REGEXP '(?-i)\\bSN[0-9]{4}-[0-9]{4}\\b'
55
ORDER BY 1;

0 commit comments

Comments
 (0)