Qi Xiao

Results 64 issues of Qi Xiao

_Originally posted by @xiaq in https://github.com/elves/elvish/issues/831#issuecomment-569820831_ I am considering introducing a `read-upto` command: ```elvish read-upto $last ``` The command reads from the bytes input, one byte at a time. The...

lang/stdlib

Should work similarly to regular expression's `{n}`, matching number of codepoints, with support for ranges. Examples: * `*[count:5]` matches 5 codepoints * `*[count:5-10]` matches 5 to 10 codepoints * `*[count:5-]`...

lang/stdlib

There are two motivations for such a command: * Make it possible to mutate a variable without race condition (#888). * Introduce a shorthand for mutating `$x[deeply][nested][element]` (#242). The design...

lang/stdlib

I would like to show both the username and full name of Telegram users in the display names of their puppets, like `username (First Last)`. But instead of adding this...