[Solved] \p in Alternative Find and Replace dialog

Discuss the word processor
Locked
dgolber
Posts: 5
Joined: Mon Sep 01, 2025 3:21 pm

[Solved] \p in Alternative Find and Replace dialog

Post by dgolber »

Alternative Find and Replace v1.4.2

If I just type "\p" in the "Search for" field, it doesn't find paragraph marks.

If I pull down the "Regular" menu, and click on "paragraph", it puts "\p" in the "Search for" field.
Then it finds paragraph marks.

So there is some invisible difference between my "\p" and the "\p" that goes in when I click "paragraph"????

Dave Golber
Last edited by robleyd on Sun Sep 14, 2025 3:03 am, edited 1 time in total.
Open Office 4.1.15 on Windows 11 Home
User avatar
RoryOF
Moderator
Posts: 35103
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Alternative Find and Replace ... two different \p's

Post by RoryOF »

When you use the Regular menu, selecting Paragraph _also_ selects Regular expressions on the main AltSearch window.

If you simply enter \p, _and_ check Regular Expressions, your first case should work.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.5 LTS
dgolber
Posts: 5
Joined: Mon Sep 01, 2025 3:21 pm

Re: Alternative Find and Replace ... two different \p's

Post by dgolber »

Thanks. That explains it.
Open Office 4.1.15 on Windows 11 Home
Locked