g*s
2 楼
还是OPT, H-1还没有开始申请,已经拿到contract了。
y*a
3 楼
>>> import re
>>> re.sub(r'\$xxx', 'yyy', '$xxxxx')
'yyyxx'
为啥会MATCH&REPLACE?
我的理解是 r'\$xxx' 就是‘\$xxx', 所以'$xxxxx'不会MATCH,不应该有REPLACE发生
。 ANY COMMENT? THX
When an "r" or "R" prefix is present, a character following a backslash is
included in the string without change, and all backslashes are left in the
string. For example, the string literal r"\n" consists of two characters: a
backslash and a lowercase "n". String quotes can be escaped with a backslash
, but the backslash remains in the string; for example, r""" is a valid
string literal consisting of two characters: a backslash and a double quote;
r"" is not a valid string literal (even a raw string cannot end in an odd
number of backslashes). Specifically, a raw string cannot end in a single
backslash (since the backslash would escape the following quote character).
Note also that a single backslash followed by a newline is interpreted as
those two characters as part of the string, not as a line continuation.
>>> re.sub(r'\$xxx', 'yyy', '$xxxxx')
'yyyxx'
为啥会MATCH&REPLACE?
我的理解是 r'\$xxx' 就是‘\$xxx', 所以'$xxxxx'不会MATCH,不应该有REPLACE发生
。 ANY COMMENT? THX
When an "r" or "R" prefix is present, a character following a backslash is
included in the string without change, and all backslashes are left in the
string. For example, the string literal r"\n" consists of two characters: a
backslash and a lowercase "n". String quotes can be escaped with a backslash
, but the backslash remains in the string; for example, r""" is a valid
string literal consisting of two characters: a backslash and a double quote;
r"" is not a valid string literal (even a raw string cannot end in an odd
number of backslashes). Specifically, a raw string cannot end in a single
backslash (since the backslash would escape the following quote character).
Note also that a single backslash followed by a newline is interpreted as
those two characters as part of the string, not as a line continuation.
s*x
4 楼
当然可以,一个原则,谁先露底价谁就输了。等hr先说,然后你再提,想好了再提,人
家答应了你再反悔就不厚道了。base实在不给涨就在sign on之类的一次性的东西上再
商量
家答应了你再反悔就不厚道了。base实在不给涨就在sign on之类的一次性的东西上再
商量
g*s
5 楼
没人回?自己顶一下
l*s
6 楼
first argument is pattern.
t*3
7 楼
如果对方说了一个数目,但没有明确说可以negotiation,我怎么知道是否可以讨价还
价呢?
价呢?
t*1
8 楼
我问的银行都要求H1B
e*o
9 楼
>>> re.sub(r'xxx$', 'yyy', '$xxxxx')
'$xxyyy'
>>> re.sub(r'\$xxx', 'yyy', '$xxxxx')
'yyyxx'
>>>
'$' is a metacharacter, in regex, match the end of string.
and '\$' match character '$'
'$xxyyy'
>>> re.sub(r'\$xxx', 'yyy', '$xxxxx')
'yyyxx'
>>>
'$' is a metacharacter, in regex, match the end of string.
and '\$' match character '$'
b*3
11 楼
没有H1B approval,不要浪费时间了。
y*a
12 楼
according to "When an "r" or "R" prefix is present, a character following a
backslash is
included in the string without change, and all backslashes are left in the
string."
r"\$xxx" should be a string whose first character is "\" and 2nd is "$", but
$xxxxx doesn't have "\", therefore there should be no match.
Is my understanding of the prefix 'r' wrong?
backslash is
included in the string without change, and all backslashes are left in the
string."
r"\$xxx" should be a string whose first character is "\" and 2nd is "$", but
$xxxxx doesn't have "\", therefore there should be no match.
Is my understanding of the prefix 'r' wrong?
s*x
13 楼
Fresh也可以,offer都可以商量
g*s
14 楼
如果夫妻两个一个F1,一个H1,可是F1的工资现在比H1要高,而且H1所在地方不是要买
房的地方,能行么?
房的地方,能行么?
l*s
15 楼
you understand 'r' prefix correctly, but the regex engine sees '$' and
interprets it as'$'
a
【在 y***a 的大作中提到】
: according to "When an "r" or "R" prefix is present, a character following a
: backslash is
: included in the string without change, and all backslashes are left in the
: string."
: r"\$xxx" should be a string whose first character is "\" and 2nd is "$", but
: $xxxxx doesn't have "\", therefore there should be no match.
: Is my understanding of the prefix 'r' wrong?
interprets it as'$'
a
【在 y***a 的大作中提到】
: according to "When an "r" or "R" prefix is present, a character following a
: backslash is
: included in the string without change, and all backslashes are left in the
: string."
: r"\$xxx" should be a string whose first character is "\" and 2nd is "$", but
: $xxxxx doesn't have "\", therefore there should be no match.
: Is my understanding of the prefix 'r' wrong?
s*m
16 楼
尝试一下BOA吧
y*a
17 楼
no. We are talking about different things.
my understanding is tthat the 'r' prefix will force the regex engine to
leave the backslack "\" in the pattern string, therefore $xxxxx cannot match
since it doesn't have the backslacsh
【在 l*********s 的大作中提到】
: you understand 'r' prefix correctly, but the regex engine sees '$' and
: interprets it as'$'
:
: a
my understanding is tthat the 'r' prefix will force the regex engine to
leave the backslack "\" in the pattern string, therefore $xxxxx cannot match
since it doesn't have the backslacsh
【在 l*********s 的大作中提到】
: you understand 'r' prefix correctly, but the regex engine sees '$' and
: interprets it as'$'
:
: a
r*s
18 楼
貌似俺的银行是BOA,也只给H1B贷款。。。
g*s
20 楼
问过BOA也是只给H1B,说H1B的工资有点低,但是也能刚刚到线。问题是H1B的文件明年
2月就到期了,接电话的人说只要有I-797就好,我们心里还是不塌实。
2月就到期了,接电话的人说只要有I-797就好,我们心里还是不塌实。
相关阅读
求购软件相关书籍 (人在湾区)12306 细节老魏的所谓hot standby就是上个世纪的solution老姜,这就是前几天我跟你说的哇咔咔,老赵走火入魔了抢票软件全是坑爹货!12306验证码大PKJSONCPP和ASIO能否联合使用(C++11)?客户端给你们算了大大集团:一个淫贼的励志故事古总并没有输,魏老师也没有赢说点技术之外的话题:2份全工Google confirms next Android version won’t implement Oracl (转载)求大牛指点:Class JavaLaunchHelper is implemented in both (转载)魏老师做的是client吧古老师的粉丝先不要急着洗地,新年的钟声还没有敲响假设一台机器处理能力是100QPS我是否需要Move(C++11)?公司面试码工 (转载)AMT啥意思?看不懂啊docker和vagrant的异同是啥,大家都用哪个