正则表达式去除中文字之间的空格,保留英文单词之间的空格,对于英文单词中间夹杂着数字的情况,应该保留空格但没有保留 # -*- coding:utf-8 -*- # import re def _clean_space(text): ? match_regex = re.compile(u'[\u4e ...
分类:
编程语言 时间:
2020-10-30 12:37:24
阅读次数:
34
.drone.yml 1 kind: pipeline 2 name: default 3 steps: 4 - name: test 5 image: python:3.7-alpine 6 commands: 7 - "python test.py" 8 9 # - name: publish ...
分类:
其他好文 时间:
2020-10-27 11:36:36
阅读次数:
16
出现背景: android studio 连接华为荣耀6X手机(开启了usb调试和MIDI数据传输),adb调试安卓应用,avd没有发现真机,提示需要更新ADB Interface驱动 电脑设备管理->更新adb interface驱动,找不到合适的驱动,故借助360手机助手连接手机,安装合适的驱动 ...
分类:
数据库 时间:
2020-10-22 23:04:59
阅读次数:
35
如果主页的加载出现了问题,请点击刷新主页 本主页被访问的次数 本主页共被访问次 个人制作的主题 卡通二次元主题(二次元图片随机) 夜与昼IV Blog 笑点爆料 Useful代码 随机图片中的better图 ...
分类:
其他好文 时间:
2020-10-21 21:16:22
阅读次数:
30
ABAP 正则表达式 ABAP支持正则表达式。 支持正则表达式的语句: 1.FIND,REPLACE语句; 2.Functions:count,count_xxx,contains,find,find_xxx,match,matches,replace,substring,substring_xxx ...
分类:
其他好文 时间:
2020-10-18 16:46:52
阅读次数:
27
一、罗马数字是否是位置计数 我认为不是位置计数。网上查得的定义如下: 位置计数法是一种表达数字的系统,数位按照顺序排列,每个数位有一个位值,数字的值就是每个数位和位值的乘积之和。 而罗马数字没有固定的、有顺序的数位。 二、用罗马数字表示自己的八位学号 查知 I, 1 II, 2 III, 3 IV, ...
分类:
其他好文 时间:
2020-10-16 11:17:33
阅读次数:
20
九宫格 <?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_paren ...
分类:
移动开发 时间:
2020-10-14 20:00:28
阅读次数:
27
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" an ...
分类:
其他好文 时间:
2020-10-08 19:36:23
阅读次数:
24
购物商城 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_paren ...
分类:
移动开发 时间:
2020-10-08 19:28:46
阅读次数:
36
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" ...
分类:
其他好文 时间:
2020-10-07 21:37:42
阅读次数:
92