Difference between revisions of "Talk:Documentation/How Tos/Regular Expressions in Writer"
Hgreenhough (Talk | contribs) m (suggested example) |
Hgreenhough (Talk | contribs) m (Workaround - insert a newline using Find & Replace) |
||
Line 1: | Line 1: | ||
+ | == References == | ||
+ | |||
Some of the matters arising with regex can be found in the OOo archives: | Some of the matters arising with regex can be found in the OOo archives: | ||
Line 31: | Line 33: | ||
Hex \<0x[A-Fa-f0-9]+\> | Hex \<0x[A-Fa-f0-9]+\> | ||
</pre> | </pre> | ||
+ | |||
+ | == Workarounds == | ||
+ | |||
+ | In at least <i>some</i> versions of Linux it is possible to use unicode input to directly type a newline (line feed / soft line break/ U+000A) in the "Replace with" input box. There are no reports so far of this working on any other OS. | ||
+ | |||
+ | http://user.services.openoffice.org/en/forum/viewtopic.php?p=2842#p2842 | ||
+ | |||
+ | This means that for some people it is possible to insert a newline using Find & Replace. | ||
+ | |||
+ | http://en.wikipedia.org/wiki/Unicode#Input_methods | ||
+ | |||
+ | http://www.fileformat.info/tip/microsoft/enter_unicode.htm | ||
+ | |||
+ | http://www.fileformat.info/info/unicode/char/000a/ |
Revision as of 10:03, 11 December 2007
References
Some of the matters arising with regex can be found in the OOo archives:
bugs:
http://www.oooforum.org/forum/viewtopic.phtml?t=39589
http://www.oooforum.org/forum/viewtopic.phtml?t=64265&highlight=regular
http://www.oooforum.org/forum/viewtopic.phtml?t=61200&highlight=regular
discussion:
http://www.oooforum.org/forum/viewtopic.phtml?t=8665&highlight=regular
http://www.oooforum.org/forum/viewtopic.phtml?t=61857&highlight=regular
issue:
http://qa.openoffice.org/issues/show_bug.cgi?id=15666 (now RESOLVED FIXED)
Examples
This is probably too arcane, but here's a discussion on the black art of finding octal, decimal, & hexadecimal numbers in Writer http://www.oooforum.org/forum/viewtopic.phtml?t=66319
Octal \<0[0-7]*\> Decimal \<[1-9][0-9]*\> Hex \<0x[A-Fa-f0-9]+\>
Workarounds
In at least some versions of Linux it is possible to use unicode input to directly type a newline (line feed / soft line break/ U+000A) in the "Replace with" input box. There are no reports so far of this working on any other OS.
http://user.services.openoffice.org/en/forum/viewtopic.php?p=2842#p2842
This means that for some people it is possible to insert a newline using Find & Replace.
http://en.wikipedia.org/wiki/Unicode#Input_methods