We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 82b4536 + fad0ff6 commit efac13dCopy full SHA for efac13d
src/ParsedText.js
@@ -4,7 +4,7 @@ import ReactNative from 'react-native';
4
import TextExtraction from './lib/TextExtraction';
5
6
const PATTERNS = {
7
- url: /(https?:\/\/|www\.)[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&\/\/=]*)/,
+ url: /(https?:\/\/|www\.)[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&\/\/=]*)/i,
8
phone: /[\+]?[(]?[0-9]{3}[)]?[-\s\.]?[0-9]{3}[-\s\.]?[0-9]{4,6}/,
9
email: /\S+@\S+\.\S+/,
10
};
0 commit comments