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 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 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 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 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 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 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 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 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就好,我们心里还是不塌实。
相关阅读
大家看下现在找工的要求One angry npm module took down the whole npmcentos 7下自动安装各种CNN库T家的人呢?谁能推荐个web portal的software请问一下这个东西怎么样老邢的网站现在直接serve malware。还要脸不要?推荐一个framework,上手快功能强生物千老能不能手写一个DNA函数出来? (转载)大家一般用gradle还是maven内部推荐BigData工作机会业余时间想做一个project再说说本站的malwareWebGL/ThreeJS可以在ASP.NET (C#)上运行吗?ubuntu on windows想问一下,大家一般是怎么在windows 上装 centos, ubuntu 等的?资源有限就上图灵机,资源宽裕就用FPiOS app从国内存数据到美国的服务器IT企业最sb的文化就是nerf guns (转载)有没有人觉得restful被高估了