I have made a minor fix to bmp addon to fix DIB header size info. Please
get the update from Pacman.
Nevertheless mac still can not recognize the bmp file of your 2x2 sample .
The reason may be bmp addon trying to optimize the bmp file size using
pixel table whenever possible by default.
by
It might be good enough to change Rxnna and Rxnnz at
https://github.com/jsoftware/qtide/blob/master/lib/base/state.cpp#L189
to
Rxnna = "\\b\\Q";
Rxnnz = "\\E\\b";
There's an obscure edge case here, if someone tries searching for a
"name" containing \E but that should never happen.
Thanks,
The name only search is a regex of \b (word boundary) at start and end
of the string, see
https://github.com/jsoftware/qtide/blob/master/lib/base/fiw.cpp line 363
and
https://github.com/jsoftware/qtide/blob/master/lib/base/state.cpp line 189.
Perhaps a better regex could be taken from
appending _z_ to zlocale names is ugly and defeat the original purpose of
zlocale.
In your purposal, it can be argued that all names including smoutput and
fexist also need _z_
I think a better way to fix is to put script into j locale and refer it as
script_j_
or rename it as new name jscript
An additional problem here is that a name only search for m. will
treat the . as a wildcard character rather than matching specifically
on the . character.
This is probably due to the use of a regular expression in the
implementation without the use of a regular expression quoting
mechanism for
(I am not sure where I should leave these observations.)
Today, I stumbled over a couple mis-features in the implementation of
the "name only" mechanism in j's qtide search mechanism.
One issue is that a "name only" search for 'm' finds the 'm' in 'm.'
This makes searching for instances of 'm'
Personally, I usually consider z locale names as names to be avoided
(my exception being in contexts where I do not expect the z locale to
be relevant).
--
Raul
On Sat, Oct 8, 2022 at 10:56 AM Don Guinn wrote:
>
> I happened to use the name "script" in something I was writing then found
> that
I happened to use the name "script" in something I was writing then found
that "load" stopped working. "load" uses "script" in the "z" locale making
"load" fail when I defined "script" in the current locale.
'echo ''Script loaded''' fwrite 'testing.ijs'
20
load 'testing.ijs'
Script loaded