ID Number: Q48863
2.20 2.30 3.00 3.10 3.11 3.14 | 2.20 2.30 3.00 3.10 3.11 3.12 3.50
MS-DOS | OS/2
Summary:
CodeView versions 2.2 and 2.3 and CodeView for Windows version 2.1
have a 19-character limit in the Find option of the Search menu, even
though the dialog box is much longer than 19 characters. Entering a
search string longer than 19 characters results in one of two error
messages. CodeView versions 3.0 and later have a 23-character limit.
If the search string entered is 20 or 21 characters long in CodeView
2.x, CodeView displays the erroneous message "No match of regular
expression," even if the search string does exist in the file. If the
search string is 22 characters or more in length, CodeView displays
the more appropriate message "Regular expression too long."
More Information:
Although 19 characters sometimes can be limiting, CodeView does
substring searches so that searching for the following
AFunctionWithAVeryL
finds the following string:
AFunctionWithAVeryLongName
You will have problems only if you have both of the following and you
are trying to locate one, but not the other:
AFunctionWithAVeryLongName()
AFunctionWithAVeryLongParameterList(a,b,c,d,e,f,g,h,i,j)
In this case, you won't be able to specify search strings long enough
to distinguish between the two. However, you can repeatedly use the
Next command from the Search menu to find the next occurrence of the
following:
AFunctionWithAVeryL
The Next command will find whichever of the above two function names
that comes next in the source file.
Additional reference words: 2.20 2.30 3.00 3.10 3.50 P_WinSDK