Skip to content

Commit 7421a83

Browse files
authored
Update README_EN.md
1 parent 5a46b3b commit 7421a83

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

solution/3400-3499/3465.Find Products with Valid Serial Numbers/README_EN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ import pandas as pd
123123

124124

125125
def find_valid_serial_products(products: pd.DataFrame) -> pd.DataFrame:
126-
valid_pattern = r"(?-i)\bSN[0-9]{4}-[0-9]{4}\b"
126+
valid_pattern = r"\bSN[0-9]{4}-[0-9]{4}\b"
127127
valid_products = products[
128128
products["description"].str.contains(valid_pattern, regex=True)
129129
]

0 commit comments

Comments
 (0)