rupa / z

z - jump around
Do What The F*ck You Want To Public License
16.39k stars 1.17k forks source link

Use `index(s, t)` instead of regular expression #214

Closed ericbn closed 6 years ago

ericbn commented 7 years ago

for checking the common root. It is a simpler implementation.

I see a similar logic, still using ~! comparison exists since initial commit (9b240f3):

    } else for( i in a ) if( shortest !~ a[i] ) x = 1

Rename parameters in output function to avoid using multiple names for the same domains. Use the same names as in other functions.

ericbn commented 6 years ago

This also fixes #203.