We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 396cedd commit dd2ffe2Copy full SHA for dd2ffe2
1 file changed
main/stdlib.ijs
@@ -341,7 +341,7 @@ NB.- if empty use: 0 1 2 3.
341
NB.- mp: optional matching pattern. If mp contains '*', list names
342
NB.- containing mp, otherwise list names starting mp. If mp
343
NB.- contains '~', list names that do not match.
344
-NB.- if mp contains '_', list names with the locale name
+NB.- if mp starts with '_', list names with the locale name
345
NB.-
346
NB.- e.g. 'f' nl 3 - list verbs that begin with 'f'
347
NB.- '*com nl '' - list names containing 'com'
@@ -360,8 +360,9 @@ end.
360
if. 0 e. #nms do. return. end.
361
362
if. #t=. x -. ' ' do.
363
- 'n s l'=. '~*_' e. t
364
- t=. t -. '~*_'
+ 'n s'=. '~*' e. t
+ l=. '_' = {.t
365
+ t=. }.^:l t -. '~*'
366
b=. t&E. &> nms
367
if. s do. b=. +./"1 b
368
else. b=. {."1 b end.
0 commit comments