刚接触正则表达式,本来以为离我很远,结果在解决一道题的时候,浏览器搜索怎么在字符串中仅获取数字或仅获取字母时,恰好看到了。

当然了,正则表达式不仅可以解决这些问题,

题目如下:

我的代码如下:

package chapter7;import java.util.Scanner;
import java.util.regex.Matcher;
import java.util.regex.Pattern;public class q7_17 {public static void main(String[] args) {// TODO Auto-generated method stubScanner input=new Scanner(System.in);System.out.print("请输入学生人数:");int n;int i,j,k;String temp="";int size=1000;n=input.nextInt();System.out.println("请输入学生姓名和成绩:");String[] nasc=new String[size];//姓名&分数String str="";String[] name=new String[size];//姓名String[] score=new String[size];//分数for(i=0;i<=n;i++) {nasc[i]=input.nextLine();str=String.valueOf(nasc[i]);String regCa="[^A-z]";  //正则找名字(英文)Pattern p = Pattern.compile(regCa);  Matcher x = p.matcher(str);  name[i]=x.replaceAll("").trim();  String regEx="[^0-9]";  //正则找数字Pattern q = Pattern.compile(regEx);  Matcher y = q.matcher(str);  score[i]=y.replaceAll("").trim();        	}for(j=1;j<i;j++) {boolean flag=true;for(k=1;k<i-j;k++) {int a=Integer.parseInt(score[k]);int b=Integer.parseInt(score[k+1]);if(a<b) {temp=score[k];score[k]=score[k+1];score[k+1]=temp;temp=name[k];name[k]=name[k+1];name[k+1]=temp;flag=false;}}if(flag) {break;}}for(int l=0;l<i;l++) {System.out.println(name[l]);}input.close();}}

当时不是很明白意思,当时今天学了Python后,有了那么一点认识。

正则表达式(regular expression)是一个用于匹配字符串的模板。任何字符串都可以视为正则表达式。例如,“Java”就是一个正则表达式,但它只能匹配字符串“Java”,不能匹配其他字符串。

通常正则表达式能够匹配一批字符串。

正则表达式由普通字符和特殊字符构成

     

常用的正则表达式:

以下内容引自wikipedia:

POSIX basic and extended

正则表达式的元字符:

MetacharacterDescription
^Matches the starting position within the string. In line-based tools, it matches the starting position of any line.
.Matches any single character (many applications exclude newlines, and exactly which characters are considered newlines is flavor-, character-encoding-, and platform-specific, but it is safe to assume that the line feed character is included). Within POSIX bracket expressions, the dot character matches a literal dot. For example, a.c matches "abc", etc., but [a.c] matches only "a", ".", or "c".
[ ]A bracket expression. Matches a single character that is contained within the brackets. For example, [abc] matches "a", "b", or "c". [a-z] specifies a range which matches any lowercase letter from "a" to "z". These forms can be mixed: [abcx-z] matches "a", "b", "c", "x", "y", or "z", as does [a-cx-z].

The - character is treated as a literal character if it is the last or the first (after the ^, if present) character within the brackets: [abc-][-abc]. Note that backslash escapes are not allowed. The ] character can be included in a bracket expression if it is the first (after the ^) character: []abc].

[^ ]Matches a single character that is not contained within the brackets. For example, [^abc] matches any character other than "a", "b", or "c". [^a-z] matches any single character that is not a lowercase letter from "a" to "z". Likewise, literal characters and ranges can be mixed.
$Matches the ending position of the string or the position just before a string-ending newline. In line-based tools, it matches the ending position of any line.
( )Defines a marked subexpression. The string matched within the parentheses can be recalled later (see the next entry, \n). A marked subexpression is also called a block or capturing group. BRE mode requires \( \).
\nMatches what the nth marked subexpression matched, where n is a digit from 1 to 9. This construct is vaguely defined in the POSIX.2 standard. Some tools allow referencing more than nine capturing groups. Also known as a backreference.
*Matches the preceding element zero or more times. For example, ab*c matches "ac", "abc", "abbbc", etc. [xyz]* matches "", "x", "y", "z", "zx", "zyx", "xyzzy", and so on. (ab)* matches "", "ab", "abab", "ababab", and so on.
{m,n}Matches the preceding element at least m and not more than n times. For example, a{3,5} matches only "aaa", "aaaa", and "aaaaa". This is not found in a few older instances of regexes. BRE mode requires \{m,n\}.

Examples:

  • .at matches any three-character string ending with "at", including "hat", "cat", and "bat".
  • [hc]at matches "hat" and "cat".
  • [^b]at matches all strings matched by .at except "bat".
  • [^hc]at matches all strings matched by .at other than "hat" and "cat".
  • ^[hc]at matches "hat" and "cat", but only at the beginning of the string or line.
  • [hc]at$ matches "hat" and "cat", but only at the end of the string or line.
  • \[.\] matches any single character surrounded by "[" and "]" since the brackets are escaped, for example: "[a]" and "[b]".
  • s.* matches s followed by zero or more characters, for example: "s" and "saw" and "seed".

POSIX extended[edit]

The meaning of metacharacters escaped with a backslash is reversed for some characters in the POSIX Extended Regular Expression (ERE) syntax. With this syntax, a backslash causes the metacharacter to be treated as a literal character. So, for example, \( \) is now ( ) and \{ \} is now { }. Additionally, support is removed for \n backreferences and the following metacharacters are added:

MetacharacterDescription
?Matches the preceding element zero or one time. For example, ab?c matches only "ac" or "abc".
+Matches the preceding element one or more times. For example, ab+c matches "abc", "abbc", "abbbc", and so on, but not "ac".
|The choice (also known as alternation or set union) operator matches either the expression before or the expression after the operator. For example, abc|def matches "abc" or "def".

Examples:

  • [hc]?at matches "at", "hat", and "cat".
  • [hc]*at matches "at", "hat", "cat", "hhat", "chat", "hcat", "cchchat", and so on.
  • [hc]+at matches "hat", "cat", "hhat", "chat", "hcat", "cchchat", and so on, but not "at".
  • cat|dog matches "cat" or "dog".

POSIX Extended Regular Expressions can often be used with modern Unix utilities by including the command line flag -E.

Character classes[edit]

The character class is the most basic regex concept after a literal match. It makes one small sequence of characters match a larger set of characters. For example, [A-Z] could stand for any uppercase letter in the English alphabet, and \d could mean any digit. Character classes apply to both POSIX levels.

When specifying a range of characters, such as [a-Z] (i.e. lowercase a to uppercase Z), the computer's locale settings determine the contents by the numeric ordering of the character encoding. They could store digits in that sequence, or the ordering could be abc…zABC…Z, or aAbBcC…zZ. So the POSIX standard defines a character class, which will be known by the regex processor installed. Those definitions are in the following table:

正则表达式的预定义字符类:

POSIXNon-standardPerl/TclVimJavaASCIIDescription
[:ascii:][31]\p{ASCII}[\x00-\x7F]ASCII characters
[:alnum:]\p{Alnum}[A-Za-z0-9]Alphanumeric characters
[:word:][31]\w\w\w[A-Za-z0-9_]Alphanumeric characters plus "_"
\W\W\W[^A-Za-z0-9_]Non-word characters
[:alpha:]\a\p{Alpha}[A-Za-z]Alphabetic characters
[:blank:]\s\p{Blank}[ \t]Space and tab
\b\< \>\b(?<=\W)(?=\w)|(?<=\w)(?=\W)Word boundaries
\B(?<=\W)(?=\W)|(?<=\w)(?=\w)Non-word boundaries
[:cntrl:]\p{Cntrl}[\x00-\x1F\x7F]Control characters
[:digit:]\d\d\p{Digit} or \d[0-9]Digits
\D\D\D[^0-9]Non-digits
[:graph:]\p{Graph}[\x21-\x7E]Visible characters
[:lower:]\l\p{Lower}[a-z]Lowercase letters
[:print:]\p\p{Print}[\x20-\x7E]Visible characters and the space character
[:punct:]\p{Punct}[][!"#$%&'()*+,./:;<=>?@\^_`{|}~-]Punctuation characters
[:space:]\s\_s\p{Space} or \s[ \t\r\n\v\f]Whitespace characters
\S\S\S[^ \t\r\n\v\f]Non-whitespace characters
[:upper:]\u\p{Upper}[A-Z]Uppercase letters
[:xdigit:]\x\p{XDigit}[A-Fa-f0-9]Hexadecimal digits

正则表达式的元字符+预定义字符类用例

Meta­character(s)DescriptionExample[51]
.Normally matches any character except a newline.
Within square brackets the dot is literal.
$string1 = "Hello World\n";
if ($string1 =~ m/...../) {print "$string1 has length >= 5.\n";
}

Output:

Hello Worldhas length >= 5.
( )Groups a series of pattern elements to a single element.
When you match a pattern within parentheses, you can use any of $1$2, ... later to refer to the previously matched pattern.
$string1 = "Hello World\n";
if ($string1 =~ m/(H..).(o..)/) {print "We matched '$1' and '$2'.\n";
}

Output:

We matched 'Hel' and 'o W'.
+Matches the preceding pattern element one or more times.
$string1 = "Hello World\n";
if ($string1 =~ m/l+/) {print "There are one or more consecutive letter \"l\"'s in $string1.\n";
}

Output:

There are one or more consecutive letter "l"'s in Hello World.
?Matches the preceding pattern element zero or one time.
$string1 = "Hello World\n";
if ($string1 =~ m/H.?e/) {print "There is an 'H' and a 'e' separated by ";print "0-1 characters (e.g., He Hue Hee).\n";
}

Output:

There is an 'H' and a 'e' separated by 0-1 characters (e.g., He Hue Hee).
?Modifies the *+? or {M,N}'d regex that comes before to match as few times as possible.
$string1 = "Hello World\n";
if ($string1 =~ m/(l.+?o)/) {print "The non-greedy match with 'l' followed by one or ";print "more characters is 'llo' rather than 'llo Wo'.\n";
}

Output:

The non-greedy match with 'l' followed by one or more characters is 'llo' rather than 'llo Wo'.
*Matches the preceding pattern element zero or more times.
$string1 = "Hello World\n";
if ($string1 =~ m/el*o/) {print "There is an 'e' followed by zero to many ";print "'l' followed by 'o' (e.g., eo, elo, ello, elllo).\n";
}

Output:

There is an 'e' followed by zero to many 'l' followed by 'o' (e.g., eo, elo, ello, elllo).
{M,N}Denotes the minimum M and the maximum N match count.
N can be omitted and M can be 0: {M} matches "exactly" M times; {M,} matches "at least" M times; {0,N} matches "at most" N times.
x* y+ z? is thus equivalent to x{0,} y{1,} z{0,1}.
$string1 = "Hello World\n";
if ($string1 =~ m/l{1,2}/) {print "There exists a substring with at least 1 ";print "and at most 2 l's in $string1\n";
}

Output:

There exists a substring with at least 1 and at most 2 l's in Hello World
[…]Denotes a set of possible character matches.
$string1 = "Hello World\n";
if ($string1 =~ m/[aeiou]+/) {print "$string1 contains one or more vowels.\n";
}

Output:

Hello Worldcontains one or more vowels.
|Separates alternate possibilities.
$string1 = "Hello World\n";
if ($string1 =~ m/(Hello|Hi|Pogo)/) {print "$string1 contains at least one of Hello, Hi, or Pogo.";
}

Output:

Hello Worldcontains at least one of Hello, Hi, or Pogo.
\bMatches a zero-width boundary between a word-class character (see next) and either a non-word class character or an edge; same as

(^\w|\w$|\W\w|\w\W).

$string1 = "Hello World\n";
if ($string1 =~ m/llo\b/) {print "There is a word that ends with 'llo'.\n";
}

Output:

There is a word that ends with 'llo'.
\wMatches an alphanumeric character, including "_";
same as [A-Za-z0-9_] in ASCII, and

[\p{Alphabetic}\p{GC=Mark}\p{GC=Decimal_Number}\p{GC=Connector_Punctuation}]

in Unicode,[47] where the Alphabetic property contains more than Latin letters, and the Decimal_Number property contains more than Arab digits.

$string1 = "Hello World\n";
if ($string1 =~ m/\w/) {print "There is at least one alphanumeric ";print "character in $string1 (A-Z, a-z, 0-9, _).\n";
}

Output:

There is at least one alphanumeric character in Hello World(A-Z, a-z, 0-9, _).
\WMatches a non-alphanumeric character, excluding "_";
same as [^A-Za-z0-9_] in ASCII, and

[^\p{Alphabetic}\p{GC=Mark}\p{GC=Decimal_Number}\p{GC=Connector_Punctuation}]

in Unicode.

$string1 = "Hello World\n";
if ($string1 =~ m/\W/) {print "The space between Hello and ";print "World is not alphanumeric.\n";
}

Output:

The space between Hello and World is not alphanumeric.
\sMatches a whitespace character,
which in ASCII are tab, line feed, form feed, carriage return, and space;
in Unicode, also matches no-break spaces, next line, and the variable-width spaces (amongst others).
$string1 = "Hello World\n";
if ($string1 =~ m/\s.*\s/) {print "In $string1 there are TWO whitespace characters, which may";print " be separated by other characters.\n";
}

Output:

In Hello Worldthere are TWO whitespace characters, which may be separated by other characters.
\SMatches anything but a whitespace.
$string1 = "Hello World\n";
if ($string1 =~ m/\S.*\S/) {print "In $string1 there are TWO non-whitespace characters, which";print " may be separated by other characters.\n";
}

Output:

In Hello Worldthere are TWO non-whitespace characters, which may be separated by other characters.
\dMatches a digit;
same as [0-9] in ASCII;
in Unicode, same as the \p{Digit} or \p{GC=Decimal_Number} property, which itself the same as the \p{Numeric_Type=Decimal} property.
$string1 = "99 bottles of beer on the wall.";
if ($string1 =~ m/(\d+)/) {print "$1 is the first number in '$string1'\n";
}

Output:

99 is the first number in '99 bottles of beer on the wall.'
\DMatches a non-digit;
same as [^0-9] in ASCII or \P{Digit} in Unicode.
$string1 = "Hello World\n";
if ($string1 =~ m/\D/) {print "There is at least one character in $string1";print " that is not a digit.\n";
}

Output:

There is at least one character in Hello Worldthat is not a digit.
^Matches the beginning of a line or string.
$string1 = "Hello World\n";
if ($string1 =~ m/^He/) {print "$string1 starts with the characters 'He'.\n";
}

Output:

Hello Worldstarts with the characters 'He'.
$Matches the end of a line or string.
$string1 = "Hello World\n";
if ($string1 =~ m/rld$/) {print "$string1 is a line or string ";print "that ends with 'rld'.\n";
}

Output:

Hello Worldis a line or string that ends with 'rld'.
\AMatches the beginning of a string (but not an internal line).
$string1 = "Hello\nWorld\n";
if ($string1 =~ m/\AH/) {print "$string1 is a string ";print "that starts with 'H'.\n";
}

Output:

Hello
Worldis a string that starts with 'H'.
\zMatches the end of a string (but not an internal line).[52]
$string1 = "Hello\nWorld\n";
if ($string1 =~ m/d\n\z/) {print "$string1 is a string ";print "that ends with 'd\\n'.\n";
}

Output:

Hello
Worldis a string that ends with 'd\n'.
[^…]Matches every character except the ones inside brackets.
$string1 = "Hello World\n";
if ($string1 =~ m/[^abc]/) {print "$string1 contains a character other than ";print "a, b, and c.\n";
}

Output:

Hello Worldcontains a character other than a, b, and c.

                                                                                                                     

查看全文
如若内容造成侵权/违法违规/事实不符,请联系编程学习网邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!

相关文章

  1. ES和Kibana在docker中的安装

    ES&#xff1a;1、在docker环境下安装ElasticSearchdocker pull elasticsearch:6.4.22、查看镜像docker images3、启动ElasticSearchdocker run -p 9200:9200 -p 9300:9300 -e "discovery.typesingle-node" --name MyEs&#xff08;别名&#xff09; -d e47ebd7ec3ee…...

    2024/3/29 17:38:33
  2. ajax获取json部门字符被转义导致解析失败的简单处理办法

    ajax获取json部门字符被转义的简单处理办法 如题&#xff0c;处理的方法非常简单&#xff0c;就是将转义后字符替换回去。字符的转义前和转义后的对照表可以去网上查一下&#xff0c;这里列出几个经常会用的&#xff1a; 字符转义字符“&quot;空格 &&amp;<<…...

    2024/3/6 10:27:42
  3. Java基础学习之数据结构:八皇后问题

    八皇后问题&#xff08;英文&#xff1a;Eight queens&#xff09;&#xff0c;是由国际象棋棋手马克斯贝瑟尔于1848年提出的问题&#xff0c;是回溯算法的典型案例。 问题表述为&#xff1a; 在88格的国际象棋上摆放8个皇后&#xff0c;使其不能互相攻击&#xff0c;即任意两个…...

    2024/3/6 10:27:41
  4. unity ResetWorldToCameraMatrix

    C# Camera.ResetWorldToCameraMatrix方法代码示例 - 纯净天空...

    2024/3/6 10:27:40
  5. String类型的判空

    String类型是使用比较多的引用类型&#xff1a; 1、java5之前对null 的判断是 null Object ,java7引入了java.util.Objects类&#xff0c;java8在工具类中增加了isNull()方法。个人感觉仅仅提高了代码简洁性。 2、对String类型是 "" 的判断&#xff0c;我认为只能根…...

    2024/3/8 5:36:20
  6. Mapstruct使用之问题

    Mapstruct使用之问题 今天第一次在项目中使用Mapstruct&#xff0c;一切正常&#xff0c;本地服务一切ok&#xff1b; 但是部署到tomcat中产生了问题&#xff1a;一直报错找不到org.mapstruct.factory.Mappers类&#xff0c;详见下图 根据错误是没有讲Mappers加载进容器导致…...

    2024/3/29 21:53:11
  7. Java 调用ffmpeg 实现视频编辑

    1. 前言 FFmpeg是一套可以用来记录、转换数字音频、视频&#xff0c;并能将其转化为流的开源计算机程序。采用LGPL或GPL许可证。它提供了录制、转换以及流化音视频的完整解决方案。它包含了非常先进的音频/视频编解码库libavcodec&#xff0c;为了保证高可移植性和编解码质量&…...

    2024/3/29 21:53:10
  8. 使用Vue.use方法封装组件

    1、创建一个js文件&#xff0c;将组件引入&#xff0c;操作如下 //将组件引入到当前js文件中&#xff0c;进行注册 import PageTools from /components/PageToolsexport default {install(Vue) {Vue.component(PageTools, PageTools)} }2、将js文件引入到main.js中&#xff0c…...

    2024/3/29 21:53:09
  9. 贪心算法java

    贪心算法最小字典序金条切割问题会议室宣讲次数问题获得最大钱数最小字典序 给定一个字符串类型的数组strs,找到一种拼接方式&#xff0c;使得把所有字符串拼接起来以后形成的字符串具有最小的字典序 public class LowestLexicography {public static class MyComparator imple…...

    2024/3/29 21:53:08
  10. Object.assign()

    Object.assign() 原文...

    2024/3/29 17:40:14
  11. 【洛谷P1378】油滴扩展

    DFS题目&#xff0c;用到了全排列模型。 全排列模板&#xff1a; 全排列https://blog.csdn.net/qq_55799677/article/details/121147416 测试样例&#xff1a; 2 20 0 10 10 13 3 17 7 样例输出&#xff1a; 50 代码&#xff1a; #include<iostream> #include<…...

    2024/3/4 15:04:18
  12. ccf:2013-12-03最大的矩形(应试技巧 +解题思路 + 满分代码)

    应试技巧 根据数据范围反推时间复杂度&#xff0c;比如&#xff0c;数据范围n < 1000,我们可以将时间复杂度控制在O(n), O(n)logn在时间复杂度允许的情况下&#xff0c;要写最容易AC的代码 题目 解题思路 这个矩形的高度一定是某一个数字&#xff0c;所以枚举每一个数字0…...

    2024/3/29 4:50:55
  13. win10开机自启

    win10想要开机自启进入页面 但是 winr 输入 Netplwiz 弹出的框少了 【要使用本计算机&#xff0c;用户必须输入用户名和密码】复选框。 那么如何解决呢 打开注册表 HKEY_LOCAL_MACHINE&#xff3c;SOFTWARE&#xff3c;Microsoft&#xff3c;Windows NT&#xff3c;CurrentVe…...

    2024/3/6 10:27:35
  14. mongodb简单记录

    mongodb启动和关闭数据库启动&#xff1a; #mongodb默认使用执行mongod命令所处盘符目录下的/data/db作为自己的数据库存储目录&#xff0c;所以在第一次执行该命令之前先自己动手创建一个/data/db mongod 命令进行启动如果想要修改默认存储目录 mongod --dbpath数据库存储目录…...

    2024/3/29 2:44:46
  15. mysql数据库简单操作

    一 定义数据库 1查看MySQL服务器中已有的数据库 mysql > show databases&#xff1b; 2创建一个数据库 mysql > create database 数据库名称&#xff1b; 3 选择数据库 mysql > use 数据库名称&#xff1b; 4修改数据库stusys的默认字符集和校对规则 mysql &g…...

    2024/3/6 10:27:33
  16. NVIDIA_GPU_Computing_SDK

    NVIDIA_GPU_Computing_SDK在下载安装过cuda toolkit之后&#xff0c;就不需要考虑安装了...

    2024/3/29 18:38:33
  17. matplotlib基础用法mayplotlib figure图像

    import matplotlib.pyplot as plt import numpy as npx np.linspace(-1,1,100)#生成从-1到1的100个点&#xff0c;且是等间距的 y 2*x 1 plt.plot(x,y)#传入数据 plt.show()#显示图片figure函数 x np.linspace(-1,1,100) y1 2*x 1 y2 x**2plt.figure() plt.plot(x,y1)p…...

    2024/3/6 10:27:31
  18. 计算两个字符串相似度算法,返回百分号字符串

    /*** 根据传入的两个字符串判断相似度并转换格式返回带百分号的字符串** param str* param target*/public static String getSimilarityRatioString(String str, String target) {// 获取相似度float a getSimilarityRatio(str, target);// 转换为字符串String result Strin…...

    2024/3/17 10:17:49
  19. C++字符串详解(三)访问与拼接

    访问字符串中的字符 #include <iostream> #include <string> using namespace std; int main(){string s "1234567890";for(int i0,lens.length(); i<len; i){cout<<s[i]<<" ";}cout<<endl;s[5] 5;cout<<s<&…...

    2024/3/8 21:19:01
  20. 3分钟带你了解外贸常用付款方式

    在外贸行业&#xff0c;与客户就产品价格和付款方式的谈判&#xff0c;对外贸业务员来说是个大考验&#xff0c;因为它在一定程度上是直接决定了订单是否能成交的决定性因素&#xff0c;同时也直接影响着自身的利润和风险把控。 虽然在外贸谈判中我们都知道那些外贸付款方式对…...

    2024/3/6 10:27:28

最新文章

  1. Python基础:标准库 -- pprint (数据美化输出)

    1. pprint 库 官方文档 pprint --- 数据美化输出 — Python 3.12.2 文档 pprint — Data pretty printer — Python 3.12.2 documentation 2. 背景 处理JSON文件或复杂的嵌套数据时&#xff0c;使用普通的 print() 函数可能不足以有效地探索数据或调试应用程序。下面通过一…...

    2024/3/29 22:10:07
  2. 梯度消失和梯度爆炸的一些处理方法

    在这里是记录一下梯度消失或梯度爆炸的一些处理技巧。全当学习总结了如有错误还请留言&#xff0c;在此感激不尽。 权重和梯度的更新公式如下&#xff1a; w w − η ⋅ ∇ w w w - \eta \cdot \nabla w ww−η⋅∇w 个人通俗的理解梯度消失就是网络模型在反向求导的时候出…...

    2024/3/20 10:50:27
  3. css3鼠标悬停图片特效,图片悬停效果源码

    特效介绍 css3鼠标悬停图片特效,图片悬停效果源码&#xff0c;可以在网页上面作为自己的动态加载名片&#xff0c;放到侧边栏或者网站合适的位置即可 动态效果 代码下载 css3鼠标悬停图片特效,图片悬停效果源码...

    2024/3/29 18:58:32
  4. 操作系统用到了哪些数据结构

    操作系统在其内部使用了许多数据结构来管理系统资源和提供服务。以下是一些常见的数据结构&#xff1a; 队列&#xff08;Queue&#xff09;&#xff1a;队列是一种先进先出&#xff08;FIFO&#xff09;的数据结构&#xff0c;操作系统中的进程调度通常使用队列来管理就绪队列…...

    2024/3/28 8:08:01
  5. 【外汇早评】美通胀数据走低,美元调整

    原标题:【外汇早评】美通胀数据走低,美元调整昨日美国方面公布了新一期的核心PCE物价指数数据,同比增长1.6%,低于前值和预期值的1.7%,距离美联储的通胀目标2%继续走低,通胀压力较低,且此前美国一季度GDP初值中的消费部分下滑明显,因此市场对美联储后续更可能降息的政策…...

    2024/3/29 18:08:39
  6. 【原油贵金属周评】原油多头拥挤,价格调整

    原标题:【原油贵金属周评】原油多头拥挤,价格调整本周国际劳动节,我们喜迎四天假期,但是整个金融市场确实流动性充沛,大事频发,各个商品波动剧烈。美国方面,在本周四凌晨公布5月份的利率决议和新闻发布会,维持联邦基金利率在2.25%-2.50%不变,符合市场预期。同时美联储…...

    2024/3/29 18:08:34
  7. 【外汇周评】靓丽非农不及疲软通胀影响

    原标题:【外汇周评】靓丽非农不及疲软通胀影响在刚结束的周五,美国方面公布了新一期的非农就业数据,大幅好于前值和预期,新增就业重新回到20万以上。具体数据: 美国4月非农就业人口变动 26.3万人,预期 19万人,前值 19.6万人。 美国4月失业率 3.6%,预期 3.8%,前值 3…...

    2024/3/29 2:45:46
  8. 【原油贵金属早评】库存继续增加,油价收跌

    原标题:【原油贵金属早评】库存继续增加,油价收跌周三清晨公布美国当周API原油库存数据,上周原油库存增加281万桶至4.692亿桶,增幅超过预期的74.4万桶。且有消息人士称,沙特阿美据悉将于6月向亚洲炼油厂额外出售更多原油,印度炼油商预计将每日获得至多20万桶的额外原油供…...

    2024/3/29 16:26:39
  9. 【外汇早评】日本央行会议纪要不改日元强势

    原标题:【外汇早评】日本央行会议纪要不改日元强势近两日日元大幅走强与近期市场风险情绪上升,避险资金回流日元有关,也与前一段时间的美日贸易谈判给日本缓冲期,日本方面对汇率问题也避免继续贬值有关。虽然今日早间日本央行公布的利率会议纪要仍然是支持宽松政策,但这符…...

    2024/3/29 5:19:52
  10. 【原油贵金属早评】欧佩克稳定市场,填补伊朗问题的影响

    原标题:【原油贵金属早评】欧佩克稳定市场,填补伊朗问题的影响近日伊朗局势升温,导致市场担忧影响原油供给,油价试图反弹。此时OPEC表态稳定市场。据消息人士透露,沙特6月石油出口料将低于700万桶/日,沙特已经收到石油消费国提出的6月份扩大出口的“适度要求”,沙特将满…...

    2024/3/29 18:08:00
  11. 【外汇早评】美欲与伊朗重谈协议

    原标题:【外汇早评】美欲与伊朗重谈协议美国对伊朗的制裁遭到伊朗的抗议,昨日伊朗方面提出将部分退出伊核协议。而此行为又遭到欧洲方面对伊朗的谴责和警告,伊朗外长昨日回应称,欧洲国家履行它们的义务,伊核协议就能保证存续。据传闻伊朗的导弹已经对准了以色列和美国的航…...

    2024/3/29 11:11:56
  12. 【原油贵金属早评】波动率飙升,市场情绪动荡

    原标题:【原油贵金属早评】波动率飙升,市场情绪动荡因中美贸易谈判不安情绪影响,金融市场各资产品种出现明显的波动。随着美国与中方开启第十一轮谈判之际,美国按照既定计划向中国2000亿商品征收25%的关税,市场情绪有所平复,已经开始接受这一事实。虽然波动率-恐慌指数VI…...

    2024/3/29 1:13:26
  13. 【原油贵金属周评】伊朗局势升温,黄金多头跃跃欲试

    原标题:【原油贵金属周评】伊朗局势升温,黄金多头跃跃欲试美国和伊朗的局势继续升温,市场风险情绪上升,避险黄金有向上突破阻力的迹象。原油方面稍显平稳,近期美国和OPEC加大供给及市场需求回落的影响,伊朗局势并未推升油价走强。近期中美贸易谈判摩擦再度升级,美国对中…...

    2024/3/29 8:28:16
  14. 【原油贵金属早评】市场情绪继续恶化,黄金上破

    原标题:【原油贵金属早评】市场情绪继续恶化,黄金上破周初中国针对于美国加征关税的进行的反制措施引发市场情绪的大幅波动,人民币汇率出现大幅的贬值动能,金融市场受到非常明显的冲击。尤其是波动率起来之后,对于股市的表现尤其不安。隔夜美国股市出现明显的下行走势,这…...

    2024/3/29 7:41:19
  15. 【外汇早评】美伊僵持,风险情绪继续升温

    原标题:【外汇早评】美伊僵持,风险情绪继续升温昨日沙特两艘油轮再次发生爆炸事件,导致波斯湾局势进一步恶化,市场担忧美伊可能会出现摩擦生火,避险品种获得支撑,黄金和日元大幅走强。美指受中美贸易问题影响而在低位震荡。继5月12日,四艘商船在阿联酋领海附近的阿曼湾、…...

    2024/3/29 18:07:15
  16. 【原油贵金属早评】贸易冲突导致需求低迷,油价弱势

    原标题:【原油贵金属早评】贸易冲突导致需求低迷,油价弱势近日虽然伊朗局势升温,中东地区几起油船被袭击事件影响,但油价并未走高,而是出于调整结构中。由于市场预期局势失控的可能性较低,而中美贸易问题导致的全球经济衰退风险更大,需求会持续低迷,因此油价调整压力较…...

    2024/3/29 9:57:23
  17. 氧生福地 玩美北湖(上)——为时光守候两千年

    原标题:氧生福地 玩美北湖(上)——为时光守候两千年一次说走就走的旅行,只有一张高铁票的距离~ 所以,湖南郴州,我来了~ 从广州南站出发,一个半小时就到达郴州西站了。在动车上,同时改票的南风兄和我居然被分到了一个车厢,所以一路非常愉快地聊了过来。 挺好,最起…...

    2024/3/29 0:49:46
  18. 氧生福地 玩美北湖(中)——永春梯田里的美与鲜

    原标题:氧生福地 玩美北湖(中)——永春梯田里的美与鲜一觉醒来,因为大家太爱“美”照,在柳毅山庄去寻找龙女而错过了早餐时间。近十点,向导坏坏还是带着饥肠辘辘的我们去吃郴州最富有盛名的“鱼头粉”。说这是“十二分推荐”,到郴州必吃的美食之一。 哇塞!那个味美香甜…...

    2024/3/29 18:06:57
  19. 氧生福地 玩美北湖(下)——奔跑吧骚年!

    原标题:氧生福地 玩美北湖(下)——奔跑吧骚年!让我们红尘做伴 活得潇潇洒洒 策马奔腾共享人世繁华 对酒当歌唱出心中喜悦 轰轰烈烈把握青春年华 让我们红尘做伴 活得潇潇洒洒 策马奔腾共享人世繁华 对酒当歌唱出心中喜悦 轰轰烈烈把握青春年华 啊……啊……啊 两…...

    2024/3/29 17:27:19
  20. 扒开伪装医用面膜,翻六倍价格宰客,小姐姐注意了!

    原标题:扒开伪装医用面膜,翻六倍价格宰客,小姐姐注意了!扒开伪装医用面膜,翻六倍价格宰客!当行业里的某一品项火爆了,就会有很多商家蹭热度,装逼忽悠,最近火爆朋友圈的医用面膜,被沾上了污点,到底怎么回事呢? “比普通面膜安全、效果好!痘痘、痘印、敏感肌都能用…...

    2024/3/29 18:06:36
  21. 「发现」铁皮石斛仙草之神奇功效用于医用面膜

    原标题:「发现」铁皮石斛仙草之神奇功效用于医用面膜丽彦妆铁皮石斛医用面膜|石斛多糖无菌修护补水贴19大优势: 1、铁皮石斛:自唐宋以来,一直被列为皇室贡品,铁皮石斛生于海拔1600米的悬崖峭壁之上,繁殖力差,产量极低,所以古代仅供皇室、贵族享用 2、铁皮石斛自古民间…...

    2024/3/29 18:06:22
  22. 丽彦妆\医用面膜\冷敷贴轻奢医学护肤引导者

    原标题:丽彦妆\医用面膜\冷敷贴轻奢医学护肤引导者【公司简介】 广州华彬企业隶属香港华彬集团有限公司,专注美业21年,其旗下品牌: 「圣茵美」私密荷尔蒙抗衰,产后修复 「圣仪轩」私密荷尔蒙抗衰,产后修复 「花茵莳」私密荷尔蒙抗衰,产后修复 「丽彦妆」专注医学护…...

    2024/3/28 18:26:34
  23. 广州械字号面膜生产厂家OEM/ODM4项须知!

    原标题:广州械字号面膜生产厂家OEM/ODM4项须知!广州械字号面膜生产厂家OEM/ODM流程及注意事项解读: 械字号医用面膜,其实在我国并没有严格的定义,通常我们说的医美面膜指的应该是一种「医用敷料」,也就是说,医用面膜其实算作「医疗器械」的一种,又称「医用冷敷贴」。 …...

    2024/3/29 18:06:01
  24. 械字号医用眼膜缓解用眼过度到底有无作用?

    原标题:械字号医用眼膜缓解用眼过度到底有无作用?医用眼膜/械字号眼膜/医用冷敷眼贴 凝胶层为亲水高分子材料,含70%以上的水分。体表皮肤温度传导到本产品的凝胶层,热量被凝胶内水分子吸收,通过水分的蒸发带走大量的热量,可迅速地降低体表皮肤局部温度,减轻局部皮肤的灼…...

    2024/3/28 20:09:10
  25. 配置失败还原请勿关闭计算机,电脑开机屏幕上面显示,配置失败还原更改 请勿关闭计算机 开不了机 这个问题怎么办...

    解析如下&#xff1a;1、长按电脑电源键直至关机&#xff0c;然后再按一次电源健重启电脑&#xff0c;按F8健进入安全模式2、安全模式下进入Windows系统桌面后&#xff0c;按住“winR”打开运行窗口&#xff0c;输入“services.msc”打开服务设置3、在服务界面&#xff0c;选中…...

    2022/11/19 21:17:18
  26. 错误使用 reshape要执行 RESHAPE,请勿更改元素数目。

    %读入6幅图像&#xff08;每一幅图像的大小是564*564&#xff09; f1 imread(WashingtonDC_Band1_564.tif); subplot(3,2,1),imshow(f1); f2 imread(WashingtonDC_Band2_564.tif); subplot(3,2,2),imshow(f2); f3 imread(WashingtonDC_Band3_564.tif); subplot(3,2,3),imsho…...

    2022/11/19 21:17:16
  27. 配置 已完成 请勿关闭计算机,win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机...

    win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机”问题的解决方法在win7系统关机时如果有升级系统的或者其他需要会直接进入一个 等待界面&#xff0c;在等待界面中我们需要等待操作结束才能关机&#xff0c;虽然这比较麻烦&#xff0c;但是对系统进行配置和升级…...

    2022/11/19 21:17:15
  28. 台式电脑显示配置100%请勿关闭计算机,“准备配置windows 请勿关闭计算机”的解决方法...

    有不少用户在重装Win7系统或更新系统后会遇到“准备配置windows&#xff0c;请勿关闭计算机”的提示&#xff0c;要过很久才能进入系统&#xff0c;有的用户甚至几个小时也无法进入&#xff0c;下面就教大家这个问题的解决方法。第一种方法&#xff1a;我们首先在左下角的“开始…...

    2022/11/19 21:17:14
  29. win7 正在配置 请勿关闭计算机,怎么办Win7开机显示正在配置Windows Update请勿关机...

    置信有很多用户都跟小编一样遇到过这样的问题&#xff0c;电脑时发现开机屏幕显现“正在配置Windows Update&#xff0c;请勿关机”(如下图所示)&#xff0c;而且还需求等大约5分钟才干进入系统。这是怎样回事呢&#xff1f;一切都是正常操作的&#xff0c;为什么开时机呈现“正…...

    2022/11/19 21:17:13
  30. 准备配置windows 请勿关闭计算机 蓝屏,Win7开机总是出现提示“配置Windows请勿关机”...

    Win7系统开机启动时总是出现“配置Windows请勿关机”的提示&#xff0c;没过几秒后电脑自动重启&#xff0c;每次开机都这样无法进入系统&#xff0c;此时碰到这种现象的用户就可以使用以下5种方法解决问题。方法一&#xff1a;开机按下F8&#xff0c;在出现的Windows高级启动选…...

    2022/11/19 21:17:12
  31. 准备windows请勿关闭计算机要多久,windows10系统提示正在准备windows请勿关闭计算机怎么办...

    有不少windows10系统用户反映说碰到这样一个情况&#xff0c;就是电脑提示正在准备windows请勿关闭计算机&#xff0c;碰到这样的问题该怎么解决呢&#xff0c;现在小编就给大家分享一下windows10系统提示正在准备windows请勿关闭计算机的具体第一种方法&#xff1a;1、2、依次…...

    2022/11/19 21:17:11
  32. 配置 已完成 请勿关闭计算机,win7系统关机提示“配置Windows Update已完成30%请勿关闭计算机”的解决方法...

    今天和大家分享一下win7系统重装了Win7旗舰版系统后&#xff0c;每次关机的时候桌面上都会显示一个“配置Windows Update的界面&#xff0c;提示请勿关闭计算机”&#xff0c;每次停留好几分钟才能正常关机&#xff0c;导致什么情况引起的呢&#xff1f;出现配置Windows Update…...

    2022/11/19 21:17:10
  33. 电脑桌面一直是清理请关闭计算机,windows7一直卡在清理 请勿关闭计算机-win7清理请勿关机,win7配置更新35%不动...

    只能是等着&#xff0c;别无他法。说是卡着如果你看硬盘灯应该在读写。如果从 Win 10 无法正常回滚&#xff0c;只能是考虑备份数据后重装系统了。解决来方案一&#xff1a;管理员运行cmd&#xff1a;net stop WuAuServcd %windir%ren SoftwareDistribution SDoldnet start WuA…...

    2022/11/19 21:17:09
  34. 计算机配置更新不起,电脑提示“配置Windows Update请勿关闭计算机”怎么办?

    原标题&#xff1a;电脑提示“配置Windows Update请勿关闭计算机”怎么办&#xff1f;win7系统中在开机与关闭的时候总是显示“配置windows update请勿关闭计算机”相信有不少朋友都曾遇到过一次两次还能忍但经常遇到就叫人感到心烦了遇到这种问题怎么办呢&#xff1f;一般的方…...

    2022/11/19 21:17:08
  35. 计算机正在配置无法关机,关机提示 windows7 正在配置windows 请勿关闭计算机 ,然后等了一晚上也没有关掉。现在电脑无法正常关机...

    关机提示 windows7 正在配置windows 请勿关闭计算机 &#xff0c;然后等了一晚上也没有关掉。现在电脑无法正常关机以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容&#xff0c;让我们赶快一起来看一下吧&#xff01;关机提示 windows7 正在配…...

    2022/11/19 21:17:05
  36. 钉钉提示请勿通过开发者调试模式_钉钉请勿通过开发者调试模式是真的吗好不好用...

    钉钉请勿通过开发者调试模式是真的吗好不好用 更新时间:2020-04-20 22:24:19 浏览次数:729次 区域: 南阳 > 卧龙 列举网提醒您:为保障您的权益,请不要提前支付任何费用! 虚拟位置外设器!!轨迹模拟&虚拟位置外设神器 专业用于:钉钉,外勤365,红圈通,企业微信和…...

    2022/11/19 21:17:05
  37. 配置失败还原请勿关闭计算机怎么办,win7系统出现“配置windows update失败 还原更改 请勿关闭计算机”,长时间没反应,无法进入系统的解决方案...

    前几天班里有位学生电脑(windows 7系统)出问题了&#xff0c;具体表现是开机时一直停留在“配置windows update失败 还原更改 请勿关闭计算机”这个界面&#xff0c;长时间没反应&#xff0c;无法进入系统。这个问题原来帮其他同学也解决过&#xff0c;网上搜了不少资料&#x…...

    2022/11/19 21:17:04
  38. 一个电脑无法关闭计算机你应该怎么办,电脑显示“清理请勿关闭计算机”怎么办?...

    本文为你提供了3个有效解决电脑显示“清理请勿关闭计算机”问题的方法&#xff0c;并在最后教给你1种保护系统安全的好方法&#xff0c;一起来看看&#xff01;电脑出现“清理请勿关闭计算机”在Windows 7(SP1)和Windows Server 2008 R2 SP1中&#xff0c;添加了1个新功能在“磁…...

    2022/11/19 21:17:03
  39. 请勿关闭计算机还原更改要多久,电脑显示:配置windows更新失败,正在还原更改,请勿关闭计算机怎么办...

    许多用户在长期不使用电脑的时候&#xff0c;开启电脑发现电脑显示&#xff1a;配置windows更新失败&#xff0c;正在还原更改&#xff0c;请勿关闭计算机。。.这要怎么办呢&#xff1f;下面小编就带着大家一起看看吧&#xff01;如果能够正常进入系统&#xff0c;建议您暂时移…...

    2022/11/19 21:17:02
  40. 还原更改请勿关闭计算机 要多久,配置windows update失败 还原更改 请勿关闭计算机,电脑开机后一直显示以...

    配置windows update失败 还原更改 请勿关闭计算机&#xff0c;电脑开机后一直显示以以下文字资料是由(历史新知网www.lishixinzhi.com)小编为大家搜集整理后发布的内容&#xff0c;让我们赶快一起来看一下吧&#xff01;配置windows update失败 还原更改 请勿关闭计算机&#x…...

    2022/11/19 21:17:01
  41. 电脑配置中请勿关闭计算机怎么办,准备配置windows请勿关闭计算机一直显示怎么办【图解】...

    不知道大家有没有遇到过这样的一个问题&#xff0c;就是我们的win7系统在关机的时候&#xff0c;总是喜欢显示“准备配置windows&#xff0c;请勿关机”这样的一个页面&#xff0c;没有什么大碍&#xff0c;但是如果一直等着的话就要两个小时甚至更久都关不了机&#xff0c;非常…...

    2022/11/19 21:17:00
  42. 正在准备配置请勿关闭计算机,正在准备配置windows请勿关闭计算机时间长了解决教程...

    当电脑出现正在准备配置windows请勿关闭计算机时&#xff0c;一般是您正对windows进行升级&#xff0c;但是这个要是长时间没有反应&#xff0c;我们不能再傻等下去了。可能是电脑出了别的问题了&#xff0c;来看看教程的说法。正在准备配置windows请勿关闭计算机时间长了方法一…...

    2022/11/19 21:16:59
  43. 配置失败还原请勿关闭计算机,配置Windows Update失败,还原更改请勿关闭计算机...

    我们使用电脑的过程中有时会遇到这种情况&#xff0c;当我们打开电脑之后&#xff0c;发现一直停留在一个界面&#xff1a;“配置Windows Update失败&#xff0c;还原更改请勿关闭计算机”&#xff0c;等了许久还是无法进入系统。如果我们遇到此类问题应该如何解决呢&#xff0…...

    2022/11/19 21:16:58
  44. 如何在iPhone上关闭“请勿打扰”

    Apple’s “Do Not Disturb While Driving” is a potentially lifesaving iPhone feature, but it doesn’t always turn on automatically at the appropriate time. For example, you might be a passenger in a moving car, but your iPhone may think you’re the one dri…...

    2022/11/19 21:16:57