~ Mansukh
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
"If the facts don't fit the theory, get new facts" --Albert Einstein
Regards, Rene Larsen
David Newton wrote:Please UseCodeTags when posting code or configuration. Unformatted code and configuration is unnecessarily difficult to read. You can edit your post by using the button.
What's "PFB"?
~ Mansukh
Hunter McMillen wrote:add this line to your code and see what it says:
Hunter
~ Mansukh
"If the facts don't fit the theory, get new facts" --Albert Einstein
Mansukhdeep Thind wrote:
David Newton wrote:What's "PFB"?
PFB is the short form of "Please find below".
Mansukhdeep Thind wrote:
Hunter McMillen wrote:add this line to your code and see what it says:
Hunter
Hi Hunter
It is returning false. I do not quite understand why?
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Rob Prime wrote:
Mansukhdeep Thind wrote:
David Newton wrote:What's "PFB"?
PFB is the short form of "Please find below".
Please UseRealWords. Only use globally accepted acronyms. This is the first time I've seen PFB.
Mansukhdeep Thind wrote:
Hunter McMillen wrote:add this line to your code and see what it says:
Hunter
Hi Hunter
It is returning false. I do not quite understand why?
If I literally copy-paste the code from your start post and run it as described, including the quotes around \d*, then I see the desired output.
Can you perhaps put the following line at the top of your program:
Perhaps your arguments are not what you expect. For instance, when you forget the quotes around \d* then the shell will interpret it first. When I first forgot it listed all files and folders in my root folder that start with d.
Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life.
Hunter McMillen wrote:It is returning false because your pattern is not matching. I ran into this same problem and had to change your regex, which is weird because Rene said that your regex worked fine when she ran your code. Try this: "[\d]*"
Hunter
Regards, Rene Larsen
The globally-accepted acronym is, of course, vi.Rob Prime wrote: . . . Only use globally accepted acronyms. This is the first time I've seen PFB. . . .
"If the facts don't fit the theory, get new facts" --Albert Einstein