You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an artifact of es5 regex behaviors. We should look at the es6
Unicode regex matching and we should look at the poly fill for the interim.
On Wed, May 13, 2015 at 3:46 PM Nícolas Iensen [email protected]
wrote:
Hi!
First of all, congrats for this awesome solution for string diffs.
I'm trying to get the diff between two words that contains special
characters, very common in Portuguese and Spanish languages.
For example, the diff between jurídica and física is returning f jur í `
sica dica, but it should recognize them as completely different words.
If I take off the special character "í" the result is two different words:
fisica and juridica.
Is this behavior expected? If not, I can take a look myself to figure it
out.
Cheers!
—
Reply to this email directly or view it on GitHub #58.
Hi!
First of all, congrats for this awesome solution for string diffs.
I'm trying to get the diff between two words that contains special characters, very common in Portuguese and Spanish languages.
For example, the diff between
jurídica
andfísica
is returningf
jur
í
sica
dica
, but it should recognize them as completely different words.If I take off the special character "í" the result is two different words:
fisica
andjuridica
.Is this behavior expected?
Cheers!
The text was updated successfully, but these errors were encountered: