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就好,我们心里还是不塌实。
相关阅读
全部沦陷中谁有现在contractor的hourly rate吗?我来尽量客观地谈谈GC/ref count,还有RAII感觉学了Javascript之后看Ruby就是个toy单线程一般都是历史原因请教pythonJAVA programmer = car driver好久没来这个版,有点儿建议。。。c++的两大威胁入门级的大妈程序员都能干些什么?你们不懂c++等量子计算机出来后,现在的各种语言都变成渣话说openssl这么多年了,一直都是带病运行wwzz家也转node了。霸哥留在chinaren的话是不是也就是小川级别了JavaScript ,j2ee哪个工资高 有前景?我给两位转点伪币, 过年可以了么?客观总结vert.x今天第一次在windows上倒腾vert.x这个猛,100% kosher ! (转载)