or when someone hangs extra characters on the end of a word for no reason,
like "dialogue"
On Wed, Dec 28, 2016 at 5:44 PM, Kay C Lan wrote:
> On Sat, Dec 24, 2016 at 1:27 AM, Ali Lloyd wrote:
> >
> > At some point we might want to add the option to regex-search the
> > dictionary so it's proba
On Sat, Dec 24, 2016 at 1:27 AM, Ali Lloyd wrote:
>
> At some point we might want to add the option to regex-search the
> dictionary so it's probably worth keeping the regex implementation
> internally.
>
Hope everyone has had a wonderful Christmas.
Yes, I think like the expanded options within t
For those of us who don't speak regex, I'm glad it's easier than it looked.
On Fri, Dec 23, 2016 at 12:27 PM, Ali Lloyd wrote:
> It's not hard to fix. One way would be to add a function
>
> function escapeRegExp(str) {
> return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
> }
>
It's not hard to fix. One way would be to add a function
function escapeRegExp(str) {
return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
}
to dictionary_functions.js
and add the line
pTerm = escapeRegExp(pTerm);
to the dataSearch function here:
https://github.com/livecode/liv
did you try quoting the string instead of escaping it? I don't think this
is going to be trivial to fix without having at it, but I also haven't read
through the code in a month-plus.
On Thu, Dec 22, 2016 at 6:51 PM, Kay C Lan wrote:
> On Thu, Dec 22, 2016 at 10:45 PM, Mike Kerner
> wrote:
> >
On Thu, Dec 22, 2016 at 10:45 PM, Mike Kerner wrote:
> The new dictionary is indeed different. It is (mostly) implemented using
> the Bootstrap framework, which also means that much of it is more
> webby than the rest of us might like
Some of what we like and don't like can be simply down to our
The new dictionary is indeed different. It is (mostly) implemented using
the Bootstrap framework, which also means that much of it is more
webby than the rest of us might like (try to expand the window and see what
happens). Other than the tab control, the rest is one big browser widget,
so the b
Devin posted about $_POST_RAW so I decided to have a look at it in the
LC 9.0.0 dp4 Dictionary where I discovered that $ must be a special
character (I'm guessing REGEX end of line) as I needed to escape it
with \$ to get the results I wanted.
In LC 6.6.5 there is no need to escape the $ character