I need to match all of these opening tags:
<p>
<a href="foo">
But not these:
<br />
<hr class="foo" />
I came up with this and wanted to make sure I've got it right. I am only capturing the a-z.
<([a-z]+) *[^/]*?>
I believe it says:
Find a less-than, then
...
You can't parse [X]HTML with regex. Because HTML can't be parsed by regex. Regex is not a tool that can be used to correctly parse HTML. As I have answered in HTML-and-regex questions here so many times before, the use of regex will not allow you to consume HTML. Regular expressions are a tool th...
k=[]
path="E:/expr/amit.txt"
name="amit"
File.open("amit.txt").each do |l|
k<< l
end
puts k[0]
puts name.eql?("k[0]")
O/p
amit
false
why o/p containing false??it should give true
I am using just starting to experiment with lua and I want to use it to hold information like so
name = "Short Sword"
image = "Sword.png"
examine = "It's a sword"
attack = 5
That kind of information(not necessarily in that formatting)
So my question is,
How can I use lua to help with kee...
I noticed that using triple-star to apply bold and italics doesn't work in comments.
For example:
this is ***some*** text
I would expect that to be rendered in bold and italics, as it does in questions and answers:
this is some text
But in comments you get:
this is *some* text
I have a varchar field with the following data:
Interface
Gig1/0/1
Gig1/0/3
Gig1/0/5
Gig1/0/10
Gig1/1/11
I am trying to do a search (BETWEEN).
Select * from test1 where Interface Between "Gig1/0/1" and "Gig1/0/5"
Returns all the records except for Gig1/1/11
Please stop flagging for fun. I know you want to test stuff, but by flagging messages you're actively annoying people. Flagging is reserved for spam/offensive posts or messages otherwise requiring attention.
I noticed that using triple-star to apply bold and italics doesn't work in comments.
For example:
this is ***some*** text
I would expect that to be rendered in bold and italics, as it does in questions and answers:
this is some text
But in comments you get:
this is *some* text
most importantly, though: pasting a link by itself does stuff, that's how it works for everything. I think it'd be more confusing for the user if the handling was different for different things
Yes, it's chat, and that's why, between you quote some message and write a mention about that, it will take a time. In that time someone will split quotation from your mention.