vivo
New Contributor II
since ‎2022.07.29
‎2022.12.16

User Statistics

  • 10 Posts
  • 0 Solutions
  • 5 Kudos given
  • 0 Kudos received

User Activity

I have below codes. Why the regular expression doesn't work with {2}? The last 2 lines should be 1b instead. How to make it work? Thanks. "42" like "[0-9][0-9]"; // i.e. 1b"42" like "[0-9]{2}"; // i.e. 0b "42" like "[0-9]{2,2}"; // i.e. 0b
I have codes as below. Why the last line would fail? How to make it work? Thanks! t:([] c1:`a`b`a`c`b`c; c2:1 1 1 2 2 2; c3:10 20 30 40 50 60);select from t where c1 in enlist `a; // worksselect from t where c1 in `a`b; // works?[t;enlist (in;`c1;enl...
In below code, a1 doesn't work. Any ideas why? myObj: (5 7; (`a; `b ; (4 5)));a3:.[myObj; 1 2 1; {count x}]; // i.e. ((5 7);(`a;`b;4 1))a2:.[myObj; 1 2; {count x}]; // i.e. ((5 7);(`a;`b;2))a1:.[myObj; 1; {count x}]; // i.e. it doesn't worka0:.[myObj...
In the below code, I can understand the meaning of (<), but cannot understand the meaning of (';~:;<). Why line 3 keeps 4 rows, while line 4 keeps 6 rows? What is the meaning of "~:" here? t:([] c1:`a`b`c`d`e`f; c2:1 1 1 2 2 2; c3:10 20 30 40 50 60);...
I have the below code, in which the result of wj and wj1 are exactly the same. Is there an example that wj and wj1 would give different output? From the documentation I can see that the 2 functions are different, but I'm not sure how to create an exa...