jd1378 / otphelper

open-source application that can copy OTP and codes from notifications automatically for you
GNU Affero General Public License v3.0
428 stars 32 forks source link

Update CodeExtractor.kt #72

Closed nvllz closed 5 months ago

jd1378 commented 5 months ago

Hi thanks for contributing please add actual messages that contain these sensitive keywords in unit tests and restrict your sensitive keywords regex like previous sensitive keywords if they do not require them to be matched inside a word. for example: "\\bOTP\\W"

nvllz commented 5 months ago

Hi @jd1378, should be fine now. Keywords are case-insensitive (OTP == otp), right?

jd1378 commented 5 months ago

Hi Yes, the regex has case insensitive flag set Thanks for the changes

jd1378 commented 5 months ago

released in 1.14.0