![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-10-25 14:35 |
47,815 topics / 349,928 posts / today 0 new / 48,288 members |
| DOS疑难解答 & 问题讨论 (解答室) » Proceeding to the search string issue in find |
| Printable Version 3,119 / 17 |
| Floor16 lxmxn | Posted 2008-07-17 10:50 |
| 版主 Posts 4,938 Credits 11,386 | |
Originally posted by YoDe at 2008-7-15 22:36: Let's give a simple example! For example, there is a string now, excluding the square brackets on both sides, then "\<it" can match the word "is" after "this", but the "is" contained in the word "this" cannot be matched, because the "\<" symbol in the expression "\<it" requires that the left side of this "it" is a space or other characters, not letters, underscores, and any characters that make up a word. So the "is" in "this" cannot match the expression. \< only represents a position, where the front is a non-word character and the back is a word character, and \> is the opposite of it. What are word characters? a-z, A-Z, _, 0-9 can all be characters that make up a word, and others are not word characters. For example, symbols ~!@#$%^&*()_+... These are not. You can search for articles about regular expressions on the Internet. |
|
| Floor17 YoDe | Posted 2008-07-19 01:42 |
| 中级用户 Posts 102 Credits 224 | |
|
Thanks moderator, I'll read more relevant information online by myself
|
|
| Floor18 zhouhuang | Posted 2008-07-19 15:08 |
| 初级用户 Posts 28 Credits 56 | |
|
Bump
|
|
| Prev 1 2 |
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |