AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-640165

Just Me's questions

Martin Hope
Just Me
Asked: 2023-07-25 17:51:33 +0800 CST

将两个正则表达式公式合并为一个(使用记事本++)

  • 5
Si cum îi semănau ! Fraţi buni, puindu-si, ca si el, tot sufletul 
în ceea ce făceau, muncind din greu, luptind din greu, jert- 
findu-se, fără nici un gînd de răsplată.

Simțind în tot ceasul, 
asupra destinului lor, o poruncă ce vine mai de departe Si 
poruncește mai straşnic decît cea pe care le-o strigă împre- 
jurarile. În fata îngrozitoarei tragedii a războiului, un pictor 
nou se destepta în Grigorescu.

必须成为:

Şi cum îi semănau ! Fraţi buni, puindu-si, ca si el, tot sufletul în ceea ce făceau, muncind din greu, luptind din greu, jertfindu-se, fără nici un gînd de răsplată.

Simțind în tot ceasul, asupra destinului lor, o poruncă ce vine mai de departe Si poruncește mai straşnic decît cea pe care le-o strigă împrejurarile. În fata îngrozitoarei tragedii a războiului, un pictor nou se destepta în Grigorescu.

为此,现在我使用 2 个正则表达式公式:

寻找:-\s+

替换为:(leave empty)

和

寻找:\n\s+

替换为:(leave empty)

特别要注意的是,有些行的末尾有这样的内容:“jert-findu-se”,这意味着该单词被分成两部分。此类单词必须连接,但不能使用连字符,如下所示:“jertfindu-se”

如何将两个正则表达式公式合并为一个,以获得相同的结果?

我尝试过这样的组合,但效果不是很好:

寻找: (-\s+)|\1|(?=(\n\s+))|\2

或者

寻找: [\n-](\s+)|(\s+)|\1|\2

notepad++
  • 1 个回答
  • 20 Views
Martin Hope
Just Me
Asked: 2023-06-23 17:37:46 +0800 CST

正则表达式:删除其他 2 个标签内的所有 html 标签,除了 <a href=.*?"> 和 </a>

  • 4

我想删除其他 2 个标签内的所有 html 标签,除了<a href=.*?">和</a>

例如:

<p class="mb-40px">Another blending </h2>option is to all the <div>brushstrokes to show. In the painting of trees above, I didn’t spend much time trying to <a href=https://orfun.com/acrylic class="color-bebe" target="_new">blend the colors</a>. I simply mix each color and apply it without fussing with it.</p>

输出:

<p class="mb-40px">Another blending option is to all the brushstrokes to show. In the painting of trees above, I didn’t spend much time trying to <a href=https://orfun.com/acrylic class="color-bebe" target="_new">blend the colors</a>. I simply mix each color and apply it without fussing with it.</p>

我的正则表达式不是很好:

寻找:<p class="mb-40px">.*?</p>(?!</a>)|(?!<a href=.*?">)

notepad++
  • 2 个回答
  • 53 Views
Martin Hope
Just Me
Asked: 2023-06-15 15:38:49 +0800 CST

REGEX:将段落中的所有单词放在一行中

  • 5

如下所示,所有释义中的每一行都未完成。段落中每行开头的单词不是上一行的延续。我感兴趣的是在没有任何断字的情况下连接释义中的所有行。

When the water rises up to F, the piece at A will be visible; when it
reaches G, both A and B will be visible; and when it comes up to H,
all three pieces will be visible.


_Artificial Earthquake and Volcano._

Grind an equal quantity of fresh iron filings with pure sulphur, till
the whole be reduced to a fine powder. Be careful not to let any wet
come near it. Then bury about thirty pounds of it a foot deep in the
earth, and in about six or eight hours the ground will heave and
swell, and shortly after send forth smoke and flames like a burning
mountain. If the earth is raised in a conical shape, it will be no bad
miniature resemblance of one of the burning mountains.


_Artificial Illuminations._

A very pleasing exhibition may be made with very little trouble or
expense, in the following manner: Provide a box, which you fit up with
architectural designs cut out on pasteboard; prick small holes in
those parts of the building where you wish the illuminations to
appear, observing, that in proportion to the perspective, the holes
are to be made smaller; and on the near objects the holes are to be
made larger. Behind these designs thus perforated, you fix a lamp or
candle, but in such a manner that the reflection of the light shall
only shine through the holes; then placing a light of just sufficient
brilliance to show the design of the buildings before it, and making a
hole for the sight at the front end of the box, you will have a very
tolerable representation of illuminated buildings.

输出

When the water rises up to F, the piece at A will be visible; when it reaches G, both A and B will be visible; and when it comes up to H, all three pieces will be visible.


_Artificial Earthquake and Volcano._

Grind an equal quantity of fresh iron filings with pure sulphur, till the whole be reduced to a fine powder. Be careful not to let any wet come near it. Then bury about thirty pounds of it a foot deep in the earth, and in about six or eight hours the ground will heave and swell, and shortly after send forth smoke and flames like a burning mountain. If the earth is raised in a conical shape, it will be no bad miniature resemblance of one of the burning mountains.


_Artificial Illuminations._

A very pleasing exhibition may be made with very little trouble or expense, in the following manner: Provide a box, which you fit up with architectural designs cut out on pasteboard; prick small holes in those parts of the building where you wish the illuminations to appear, observing, that in proportion to the perspective, the holes are to be made smaller; and on the near objects the holes are to be made larger. Behind these designs thus perforated, you fix a lamp or candle, but in such a manner that the reflection of the light shall only shine through the holes; then placing a light of just sufficient brilliance to show the design of the buildings before it, and making a hole for the sight at the front end of the box, you will have a very tolerable representation of illuminated buildings.

我的正则表达式效果不是很好:

寻找:^(.*?)$(\K.*)\r

替换为:\2

或者(一个更好的)

寻找:^(.*?)$(\R)

替换为:\1

notepad++
  • 3 个回答
  • 26 Views
Martin Hope
Just Me
Asked: 2023-04-28 18:47:31 +0800 CST

正则表达式:查找以 `un|unui|o|unei` 开头的所有单词,后跟任何单词,但之后的单词具有连接元素 `de`

  • 5

我想找到一个正则表达式公式,以查找所有以un|unui|o|unei任何单词开头的单词,但之后单词具有连接元素"de"

unui model de amintire 
un pericol de inundatie
o carte plina de inspiratie
unei casete de sticla

从文本中提取:

Trebuie sa ma dedic unui model de amintire care sa ma faca sa ma simt bun. Trebuie, mai ales, sa evit un pericol de inundatie care poate afecta fizicul. Am citit chiar azi o carte plina de inspiratie care m-a facut sa ma simt erou. Sunt prizonierul unei casete de sticla care nu se va sparge niciodata.

结果,仅用于查找,不用于替换:

model
pericol
carte plina
casete

我的正则表达式不太好。

寻找: un|unui|o|unei(.*?)de\x20\w+

notepad++
  • 2 个回答
  • 27 Views
Martin Hope
Just Me
Asked: 2023-04-19 00:27:09 +0800 CST

正则表达式:将多个 html 标签的内容放入单个 html 标签中

  • 5
<p class="mb-40px">Decisive too, of
<p class="mb-40px">otherwise, it was the opportunity to
<p class="mb-40px">acquire what were to be two pillars
<p class="mb-40px">fundamentals of his intellectual formation:
<p class="mb-40px">Latin and virtually none of the Greek
<p class="mb-40px">written down, they were the subject of daily commentary on Apollo.</p>

必须成为:

<p class="mb-40px">Decisive too, of otherwise, it was the opportunity to acquire what were to be two pillars fundamentals of his intellectual formation: Latin and virtually none of the Greek written down, they were the subject of daily commentary on Apollo.</p>

我的正则表达式不是很好:

寻找: (<p class="mb-40px">)(.*?\s+\n)[\s\S]*?</p>

替换为: \1$0\3

notepad++
  • 3 个回答
  • 24 Views
Martin Hope
Just Me
Asked: 2023-03-06 05:23:14 +0800 CST

如何从 WhereIsIt 目录软件中提取数据库并将该数据库保存为 excel 或文本文件?

  • 6

谁能知道如何从 WhereIsIt 目录软件中提取数据库并将该数据库另存为 excel 或文本文件?

在此处输入图像描述

database
  • 1 个回答
  • 14 Views
Martin Hope
Just Me
Asked: 2023-03-05 20:48:45 +0800 CST

使用扩展名为 .bat 的 CMD(命令提示符)打开 Python .py 文件/代码的多个实例

  • 5

我尝试使用 CMD(命令提示符)打开 Python .py 文件/代码的多个实例。因此,我创建了一个扩展名为 .bat 的文件,每次我想打开多个 .py 文件/代码时都会运行它。

这是 .bat 文件中的代码

@echo off
"e:\Carte\BB\App-one.py" 
"e:\Carte\BB\App-two.py" 
"e:\Carte\BB\App-three.py" 
"e:\Carte\BB\App-four.py" 
"e:\Carte\BB\App-five.py" 

我唯一的问题是,当我第一次点击时,Python 关闭,cmd 只会打开第一个“App-one.py”

因此,我必须运行两次 .bat 文件才能打开所有 Python 文件/代码。

现在,我想一键打开所有 .py 文件,而不是两次。

我怎样才能做到这一点 ?

python
  • 1 个回答
  • 20 Views
Martin Hope
Just Me
Asked: 2023-02-21 01:27:00 +0800 CST

Windows10:为什么当我点击不同应用程序的其他地方时,Winamp 应用程序没有自动最小化?

  • 6

从昨天开始我有这个问题。

当我在其他应用程序上单击其他任何地方时,Winamp 应用程序不再自动最小化。基本上,Winamp 总是悬而未决,每次都在我工作的任何其他应用程序的前面。我必须单击“最小化”winamp 按钮才能将其放下,否则会停留在那里。

解决方案是什么?为什么会突然出现这种情况?

windows-10
  • 1 个回答
  • 21 Views
Martin Hope
Just Me
Asked: 2022-05-04 07:34:06 +0800 CST

正则表达式:在每行的开头添加 html 标签(没有开始标签)

  • 4

我需要 <p class="mb-40px"> 在没有此标签的每一行的开头添加。

例如:

<p class="mb-40px">moderniseringen av de omgivande flerfamiljshusen berodde helt på hans vilja.</p>

acţiunile de modernizare a blocurilor din jur depindeau în totalitate de voinţa lui.</p>

the modernization of the surrounding blocks of flats depended entirely on his will.</p>

la modernización de los bloques de pisos circundantes dependía enteramente de su voluntad.</p>

输出:

<p class="mb-40px">moderniseringen av de omgivande flerfamiljshusen berodde helt på hans vilja.</p>

<p class="mb-40px">acţiunile de modernizare a blocurilor din jur depindeau în totalitate de voinţa lui.</p>

<p class="mb-40px">the modernization of the surrounding blocks of flats depended entirely on his will.</p>

<p class="mb-40px">la modernización de los bloques de pisos circundantes dependía enteramente de su voluntad.</p>

显然这很容易

寻找:^

替换为:<p class="mb-40px">

但在这种情况下,我会在第一行得到双倍的第一个标签: <p class="mb-40px"><p class="mb-40px">

regex notepad++
  • 2 个回答
  • 105 Views
Martin Hope
Just Me
Asked: 2022-05-03 21:11:07 +0800 CST

正则表达式:查找并删除另一个标签中包含的html标签

  • 5

我有 2 个段落,带有 html 标签<p class="mb-40px"></p>在这个标签里面有文本和另一个 <p..> 标签

我需要找到并删除包含在主标签中的 html 标签<p class="mb-40px"></p>

例子:

<p class="mb-40px">Miracles every day <p lang="ro-RO" align="JUSTIFY">being at la home, the poet Petru Iliesu made an international appeal to condemn the killing of demonstrators, shot on the streets of town.</p>

<p class="mb-40px">The pleasure we feel after reading a book is different from the pleasure of tasting a dish <p class="dis23">. In the first case, pleasure is disinterested, having no particular purpose, as a release from external preoccupations.</p>

输出

<p class="mb-40px">Miracles every day being at la home, the poet Petru Iliesu made an international appeal to condemn the killing of demonstrators, shot on the streets of town.</p>

<p class="mb-40px">The pleasure we feel after reading a book is different from the pleasure of tasting a dish. In the first case, pleasure is disinterested, having no particular purpose, as a release from external preoccupations.</p>

我的正则表达式不太好:

寻找: (?:<p class="mb-40px">|\G)\S*\K(?:\h+<\s*(\w+)[^/>]*>)(?=.*</p>)

替换为:(留空)

regex notepad++
  • 2 个回答
  • 114 Views
Martin Hope
Just Me
Asked: 2022-04-07 00:41:06 +0800 CST

正则表达式:查找不以html标签开头但以其他标签结尾的行,并在开头进行替换

  • 5

我有这行,我需要将它们全部设为段落,<p class="mb-40px"></p>前 2 行没有 html 标签,但以不适当的标签结尾。第三行的末尾也有同样的不合适的标签,但开头有正确的标签。

Vă pare rău pentru ce aţi făcut?”<br />
”Can you love me?”<br />
<p class="mb-40px">Să ne imaginăm nişte răspunsuri ale agresorului.<br />

必须成为:

<p class="mb-40px">Vă pare rău pentru ce aţi făcut?”</p>
<p class="mb-40px">”Can you love me?”</p>
<p class="mb-40px">Să ne imaginăm nişte răspunsuri ale agresorului.</p>

我的两个正则表达式几乎都很好,但重复了第三行中的第一个标签

寻找:^(.*)(<br />)$

替换为:<p class="mb-40px">\1</p>

或者

寻找:^(?!<p>)(.+?)(<br />)$

替换为:<p class="mb-40px">\1<\p>

regex notepad++
  • 1 个回答
  • 573 Views
Martin Hope
Just Me
Asked: 2022-04-05 05:55:21 +0800 CST

正则表达式:删除行上的所有单词/字符串,html标签除外

  • 4

我想删除所有带有单词的行,除了 html 标签:

             <p class="bandy">Cars and jupiter</p>
            Comentezi folosind contul tău WordPress pentru a nu induce in eroare.
            
        </p>
                <p class="mb-40px">I love you</p>
            
    Seems to be a happy day with you next to me.
            
                </li>
<p class="simony">Select original books</p>

         bunica isi face cumparaturile la magazin.

输出

             <p class="bandy">Cars and jupiter</p>
            
            
        </p>
                <p class="mb-40px">I love you</p>
            
    
            
                </li>
<p class="simony">Select original books</p>
         
            

我的正则表达式不太好:

寻找:.*^(?!<p class=).*

替换为:LEAVE EMPTY

regex notepad++
  • 3 个回答
  • 871 Views
Martin Hope
Just Me
Asked: 2022-04-04 12:25:08 +0800 CST

正则表达式:查找包含其他一些特定 html 标签的所有 html 标签

  • 4

我有一些以开头<p class="mb-40px">和结尾</p>的 html 标签 第一个标签中还有一些其他标签,如你所见的</li> </ul> </div>andspaces和。\n

<p class="mb-40px"></g></svg>               </a>
            </li>
             
        </ul>

    </div>
    </p>

    <p class="mb-40px">Foarte frumos lucru</p>
<p class="mb-40px">I love cars</p>

我想查找并删除所有 html 标签,例如第一个包含</li> </ul> </div>

输出应该是:

    <p class="mb-40px">Foarte frumos lucru</p>
<p class="mb-40px">I love cars</p>

我的解决方案不好:

寻找:(?=<p class="mb-40px">)[\s\S]*?</li></div>|</ul>[\s\S]*?</p>

替换为:LEAVE EMPTY

regex notepad++
  • 3 个回答
  • 1499 Views
Martin Hope
Just Me
Asked: 2022-04-04 04:34:05 +0800 CST

正则表达式:如何从另一个 html 标签段落中删除一个 html 标签

  • 4

我有这一段:

<p class="dobe">Intră pe site-ul magazinului comandă un xerox 3D (ceea ce puteţi face şi voi intrând pe site-ul </a>  sau la numărul de telefon. Dupa ce primi xerox-ul se multiplică de atâtea ori câte oraşe există pe lume. Îşi instrui copiile să ştie unde şi cum să aşeze ouăle.</p>

我只想删除</a>后跟一个空格

我的正则表达式不好,因为被删除了整行,之后</a>不只是</a>

寻找:</a>.+\w+

替换为:LEAVE EMPTY

我也尝试了这个正则表达式,但它删除了我sau旁边的单词:

寻找:</a>([\s\S]*?)\w+

替换为:LEAVE EMPTY

regex notepad++
  • 2 个回答
  • 31 Views
Martin Hope
Just Me
Asked: 2022-04-03 11:30:26 +0800 CST

正则表达式:选择/查找所有仅包含 4 个单词的 html 标签

  • 6

我有这 2 个 html 标签。我想找到所有只包含 4 个单词的 html 标签(在我的例子中只有第一行)

<p class="mb-40px">My name is prince</p>

<p class="mb-40px">Soul Travel is a spiritual practice that enables you to explore</p>

我试试这个,但不太好:

寻找:(<p class="mb-40px">)(.*?)(?:\W*+\w++){1,4}(.*?)</p>

regex notepad++
  • 2 个回答
  • 279 Views
Martin Hope
Just Me
Asked: 2022-04-03 06:11:13 +0800 CST

正则表达式:将标题 html 标记中所有具有大写字母的单词更改为小写(第一个字母除外)

  • 4

我想使用正则表达式更改为带有大写字母的小写单词

<title>THE CHILDREN are at home.</title>

成为

<title>The children are at home.</title>

所以,我制作了一个 Python 脚本来完成这项工作:

page_title = 'THE CHILDREN are at home.'
title_words = page_title.split(' ')

new_title_words = list()
for w in title_words:
    if w.isupper():
        new_title_words.append(w.lower().capitalize())
    else:
        new_title_words.append(w)

page_title = " ".join(new_title_words)
print(page_title)

但我想为 notepad++ 使用正则表达式公式,而不是 Python。谁能帮我?

regex notepad++
  • 1 个回答
  • 1710 Views
Martin Hope
Just Me
Asked: 2022-03-26 13:06:57 +0800 CST

正则表达式:查找单词中间的字母(变音符号)î,而不是单词开头或结尾的字母î

  • 5

我必须找到î单词中间的字母(变音符号),而不是单词î开头或结尾的字母。

例如:

1.stăpînii

2.înstăpanit

3.coborî

4.înfornît

因此,正则表达式必须î仅从第一个单词中找到该字母:stăpînii。

2 和 3 单词î的开头或结尾都有字母。所以那些必须从发现中忽略。

第 4 种情况很棘手。它以开头,中间î也有一个î。因此,只有第二个î必须通过正则表达式找到。

FINAL:正则表达式必须î从第一个单词中找到字母,还必须从最后一个单词中stăpînii找到第二个字母îînfornît

regex notepad++
  • 3 个回答
  • 176 Views
Martin Hope
Just Me
Asked: 2022-03-26 11:49:01 +0800 CST

正则表达式:选择所有不以字母“p”开头的单词

  • 6

我必须使用正则表达式来选择所有不以字母“p”开头的单词。例如:

book, laptop, promise

所以,正则表达式只能选择book, laptop

我的公式不起作用,不知道为什么:

查找:\b(?!p)\w+\b 或 \b(?!p){1}\w+\b 或 \b(?![p])\w+\b

我的公式还选择了一些单个字母,而不仅仅是单词\w+

regex notepad++
  • 2 个回答
  • 1114 Views
Martin Hope
Just Me
Asked: 2022-03-18 13:07:02 +0800 CST

正则表达式:查找包含运算符但不包含其他运算符的 html 标记

  • 5
1. <p class="mb-40px">My nick name is Prince and <a href="https://mywebsite.com/bla.html" class="color-gege" target="_new">my real name</a> is beyond magic.</p>
    
2. <p class="mb-40px">I love my home s< because I stay with my lovely cat.</p>

3. <p class="mb-40px">Because of this book t< I cannot sleep well.</p>

我只想找到在 html 标记中包含operator <<p class="mb-40px"> </p>的行,除了那些包含

在我上面的示例中,输出应该是第 2 行(具有 s<)和第 3 行(具有t<)

所以,我使用一个旧的通用公式:(REGION-START)+(.)+\K(FIND REGEX)(?s:(?=.*(REGION-FINAL)))

在我的情况下查找:(<p class="mb-40px">)+(.)+\K(\w<)(?s:(?=.*(</p>)))

问题是我的正则表达式也e</a>从第一行找到。我不想找到标签</a>

regex notepad++
  • 2 个回答
  • 213 Views
Martin Hope
Just Me
Asked: 2022-03-10 01:33:00 +0800 CST

正则表达式:查找仅突出显示一个单词的链接

  • 5

我有这两个链接突出一个单词game,第二个是单词,acapulco heat

  1. <a href="https://mywebsite.com/page-one.html" class="color-bebe" target="_new">game</a>

  2. <a href="https://mywebsite.com/page-one.html" class="color-bebe" target="_new">acapulco heat</a>

我想使用正则表达式来查找仅突出显示一个单词的链接,例如在 1 行中。

输出应该是:

<a href="https://mywebsite.com/page-one.html" class="color-bebe" target="_new">game</a>

或简单:

game

regex notepad++
  • 2 个回答
  • 198 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何减少“vmmem”进程的消耗?

    • 11 个回答
  • Marko Smith

    从 Microsoft Stream 下载视频

    • 4 个回答
  • Marko Smith

    Google Chrome DevTools 无法解析 SourceMap:chrome-extension

    • 6 个回答
  • Marko Smith

    Windows 照片查看器因为内存不足而无法运行?

    • 5 个回答
  • Marko Smith

    支持结束后如何激活 WindowsXP?

    • 6 个回答
  • Marko Smith

    远程桌面间歇性冻结

    • 7 个回答
  • Marko Smith

    子网掩码 /32 是什么意思?

    • 6 个回答
  • Marko Smith

    鼠标指针在 Windows 中按下的箭头键上移动?

    • 1 个回答
  • Marko Smith

    VirtualBox 无法以 VERR_NEM_VM_CREATE_FAILED 启动

    • 8 个回答
  • Marko Smith

    应用程序不会出现在 MacBook 的摄像头和麦克风隐私设置中

    • 5 个回答
  • Martin Hope
    Vickel Firefox 不再允许粘贴到 WhatsApp 网页中? 2023-08-18 05:04:35 +0800 CST
  • Martin Hope
    Saaru Lindestøkke 为什么使用 Python 的 tar 库时 tar.xz 文件比 macOS tar 小 15 倍? 2021-03-14 09:37:48 +0800 CST
  • Martin Hope
    CiaranWelsh 如何减少“vmmem”进程的消耗? 2020-06-10 02:06:58 +0800 CST
  • Martin Hope
    Jim Windows 10 搜索未加载,显示空白窗口 2020-02-06 03:28:26 +0800 CST
  • Martin Hope
    andre_ss6 远程桌面间歇性冻结 2019-09-11 12:56:40 +0800 CST
  • Martin Hope
    Riley Carney 为什么在 URL 后面加一个点会删除登录信息? 2019-08-06 10:59:24 +0800 CST
  • Martin Hope
    zdimension 鼠标指针在 Windows 中按下的箭头键上移动? 2019-08-04 06:39:57 +0800 CST
  • Martin Hope
    jonsca 我所有的 Firefox 附加组件突然被禁用了,我该如何重新启用它们? 2019-05-04 17:58:52 +0800 CST
  • Martin Hope
    MCK 是否可以使用文本创建二维码? 2019-04-02 06:32:14 +0800 CST
  • Martin Hope
    SoniEx2 更改 git init 默认分支名称 2019-04-01 06:16:56 +0800 CST

热门标签

windows-10 linux windows microsoft-excel networking ubuntu worksheet-function bash command-line hard-drive

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve