+ 1
help me with the example..!
from the topic regular expression..provide me the example of this: "." "^" and "
quot; and explain it..!!2 Answers
+ 4
you asked same question before
a = 5; // 00000000000000000000000000000101
b = 3; // 00000000000000000000000000000011
print(a ^ b); // 00000000000000000000000000000110
// expected output: 6
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Bitwise_XOR
https://stackoverflow.com/questions/26590796/what-is-the-purpose-of-dollar-sign-in-this-python3-string-formatting-expression
+ 1
The ^ is "starts with"
The $ is "ends with"
Example /^c[a-z]+t$/ will match any string that begins with c and ends with t and have character(s) in between. So cat, cut , coat, for instance can all be matched
The dot, when not escaped means "any character"