Here is the problem:
I'm trying to match all <p> that is followed by two small letters, except if letter nr 2 is a ). The following Regular Expression does the trick:
<p>[a-z][^\);]
Now I want to exclude the two letters from the capture, so only <p> is captured. I've been trying to use a positive lookahead but it's not working:
q(?=<p>[a-z][^\);])
Anyone know how I can use a look-around assertion on this problem?
Here is a little sample text:
<p>Regulation arranged at the auto-interconnection in the transformer (the low-voltage side-line</p>
<p>terminal) requires the tapping winding and tapchanger to be designed with the insulation level</p>
<p>of the X-terminal. They will be directly exposed to steep-front voltage transients from lightning</p>
<p>or switching surges. Figure 7 shows a number of different arrangements.</p>
<p>a) The number of turns in the common winding remains unchanged. This is a logical choice if the low-voltage</p>
<p>system voltage remains relatively constant while the high-voltage system voltage is more variable.</p>
<p>b) This alternative is the opposite to a). The number of turns facing the high-voltage system voltage remains</p>
<p>constant, while the effective number of turns of the low-voltage side varies.</p>
I want to capture the <p> in line 4 and 6.
>>57034139
Never mind, I figured it out.
<p>(?=[a-z])(?=[^\);])
I feel like a retard.
>>57034139
use a fucking XML lib
>>57034234
If requesting purchasing advice, please provide your country and what carrier you will be using it with, along with wanted features, budget and size.
Good resources:
>reviews, specs, comparisons
http://www.gsmarena.com
http://www.phonearena.com
http://www.kimovil.com
>Frequency checker
http://willmyphonework.net
http://frequencycheck.com
>Chinkphone news
http://www.gizchina.com
http://www.gizmochina.com
>Recommended Chinkphones $80-$300 as of March 2016
https://wiki.installgentoo.com/index.php/Chink_shit_general/Phones
>Post a mini-review of your phone
>Discuss upcoming and current models
>Ask for help related to phones
>Tell us how much shekels you spent on good/bad phone
>Shill your Xiaomi
>PRAISE THE CHINKPHONES unless you live in America you shits
>News:
Samsung permanently discontinues the Galaxy Note7
http://www.gsmarena.com/samsung_permanently_discontinues_the_galaxy_note7-news-21001.php
Galaxy Note7's death may mean $17 billion in lost sales for Samsung
http://www.gsmarena.com/galaxy_note7s_death_may_mean_17_billion_in_lost_sales_for_samsung-news-21003.php
Samsung Galaxy Note7 refund information for all US retailers
http://www.gsmarena.com/note7_refund_information_for_all_us_retailers-news-21009.php
Two Galaxy S8 variants rumored, Viv AI assistant said to replace S Voice
http://www.sammobile.com/2016/10/11/two-galaxy-s8-variants-rumored-viv-ai-assistant-said-to-replace-s-voice/
Deal: Xiaomi Mi 5s (3GB/64GB) for $393
http://www.gizchina.com/2016/10/11/deal-xiaomi-mi-5s-3gb64gb-393/
OnePlus 3: Production stop and new model with LCD-panel, SD 821 possible
http://www.notebookcheck.net/OnePlus-3-Production-stop-and-new-model-with-LCD-panel-possible.179775.0.html
Qualcomm to announce Quick charge 4.0 on 17th oct in Hongkong
http://newsdog.today/a/article/57fac10c129071049b284ae8/
ASUS Zenfone 3 Unboxing And First Impressions
https://www.youtube.com/watch?v=ww_ryBogaXo
Previous thread: >>57025533
>>57034111
>Quick charge 4.0
Expectations?
>>57034158
it charges fast
Smartphone noob here I'm currently rocking the Iphone 5S but i'm looking for an upgrade, looking at the Galaxy S7 Edge. What phone do you guys think I should get?
Features I want:
>Good battery life
>Expandable memory with SD or MSD
>Not being a fucking tablet; I really like the Iphone 5S' size
Yes, we know everything already is from China but in here we discuss the no/low-name cheap shit you see on Gearbest, AliExpress, eBay and similar sites.
>IRC channel #/csg/ on rizon
>Discord channel
https://discord.gg/6WehyUv
>Chink Shit Randomiser
http://chinkshit.xyz/random/
>Chink Shit Wiki:
wiki.installgentoo.com/index.php/Chink_shit_general
>News
• Anon stocks up on 6 Kingdian SSD's and a 3.5mm extension cable >>57025611
• Anon becomes a premium GoodBoyPoint member after puchasing over $15k from Gearbest in past 3 months >>57025056
• Anon bought a penfedora the Jinhao X750 >>57025124 and a Rock Zircon >>57025138
• SOMAKE users still trying to get it to power BM800s sufficiently >>57025314 >>57025409 >>57025497 some neat mods are suggested >>57030747 >>57026220
• Anon has his Superlux HD-662 EVO arrive and is pretty happy with the quality of them for 30 euros >>57025694
• Anon has a 1cent deal arrive he forgot he ordered >>57026091 >>57026729
• Anon thanks /csg/'s suggestion for make purchasing the Xiaomi Hybrids, no problem dear >>57027026
• Anon benches the Kingdian S500 120gb SSD >>57028364
• Anon wants us to r8 his Syma X5C quadcopter >>57029443 a challenger appears >>57031873
• Anon uses a USB fan >>57029612 to help cool his WD My Cloud>>57030014
• Anon is happy with the KZ HDSE, a pair of $10 bluetooth earphones >>57030300 promises to report back later about its battery life.
• Anon's happy with the VE Monks he bought >>57030645
Previous thread >>57024504
>>57034075
FIRST FOR VICKY
got my $4/20 whiteboard markers today
they smell nice
nice and thin, for doing math and stuff on boards
>>57034115
draw a dick
Has anyone else noticed 4chan going super-light on ads recently? The only ones I see are ads for other boards like /v/, /asp/ and /wsr/ for example, and there's only one ad on the page.
>>57034074
I use uBlock Origin, so nope.
Did anyone donate, invest or buy 4chan after that thing with Shkreli and Notch?
>>57034092
no. mook is just going full napalm.
>ads on 4chan
Fuck off with your lies
>The Linux creator says the x86 architecture driven by Intel and AMD offers more openness and compatibility and a broader ecosystem than ARM.
>As a hardware platform, it is still not very pleasant to deal with.
http://www.eweek.com/pc-hardware/linus-torvalds-prefers-x86-chip-architecture-over-arm.html
>>57034012
...and?
yeah we fucking know, that's why you dont see ARM desktops.
>>57034012
Because ARM is proprietary trash?
I heard it´s possible to install Linux on a chromebook, is this true?
>>57033987
It comes with Linux pre-installed
>>57034001
/thread
even my toaster can run linux
Windows 98 pro and if you can (idk because im a newfag in terms of tech.) x64 with nothing on it.
Is there a question in that post somewhere?
What about it?
Why?
Previous thread: >>57021725
Welcome to /fglt/ - Friendly GNU/Linux Thread.
Users of all levels are welcome to ask questions about GNU/Linux and share their experiences.
*** Please be civil, notice the "Friendly" in every Friendly GNU/Linux Thread. ***
Before asking for help, please check our list of resources[*].
If you would like to try out GNU/Linux you can do one of the following:
0) Install a GNU/Linux distribution of your choice in a Virtual Machine.
1) Use a live image and to boot directly into the GNU/Linux distribution without installing anything.
2) Dual boot the GNU/Linux distribution of your choice along with Windows or Mac.
3) Go balls deep and replace everything with GNU/Linux.
* Resources:
$ man <insert command here>
$ info <insert command here>
$ help <insert command here>
Your friendly neighborhood search engine:
Try to use a search engine that respects your privacy such as searx, ixquick or startpage.
Check the Wikis (Most troubleshoots work for all distros.)
https://wiki.archlinux.org
https://wiki.gentoo.org
What distro should you choose?
https://wiki.installgentoo.com/index.php/Babbies_First_Linux
Break out of the botnet:
https://prism-break.org/en/categories/gnu-linux/
Learn more about Free Software:
https://www.gnu.org
/fglt/'s website:
http://fglt.nl/
/fglt/'s copypasta collection:
https://p.teknik.io/5cGhy
Friends:
>>>/t/707928 - /t/'s GNU/Linux Games
>>>/t/713097 - /t/'s GNU/Linux Training Videos
hi
>Note 7 users
Daily reminder that this is what Note 7 users look like.
Better looking than most of us.
>>57033916
why the fuck does the fag didn't get up and dust himself off?
>>57033916
Android users, BLOWN THE FUCK OUT literally.
Google is releasing 7.1 Nougat this month.
4.4
t. Samsung s3 owner
Marshmallow. It's probably the last version my Xperia Z2 will be receiving.
>>57033900
fuck you, faggot
Hello, I am designing a social media website in php. Users may create profiles and interact in various ways, but the neat thing is that you get paid 5 satoshi in bitcoin for every post you make in the public message board, which has sixteen topics.
This website is a big work in progress. So far, I have implemented solvemedia captchas for security and faucetbox for bitcoin transactions. Users are paid automatically with every post.
I am working on adding other reward systems and features, but am in need of more users to help me test this out. Please review my website and let me know what you think or if you have any questions.
www.facecollage.club
>bitcoin and data mining in one fell swoop
Smart. It's going nowhere though.
>>57033896
>white guy shooting the cop
>white guy planting the explosives
rly mks u thnk
>php
Did we ever find out what caused the note 7 to be so explody?
Thinking of picking one up off eBay from some scared poofta for cheap. Or did samsung recall it again?
I think it's just bad design. The galaxy name has been destroyed.
Do you really want to know, or do you just want to post niggresses?
>>57033947
>the galaxy name has been destroyed
Not really
>>57033955
Yeah, just posted that to get guaranteed bumps until someone replies
How can I remap keys on a per keyboard basis in Windows?
Say I have Windows 7 and a Linux distro installed on different partitions of the same drive, and use GRUB to pick between them. I want to install a new, different Linux distro and get rid of the previous one, is it as simple as creating a new partition for the new distro, deleteing the old Linux partition, then add the new distro to the GRUB menu? Or is something going to break?
how can I set up a whitelist to allow Flash to load on certain sites?
>>57033882
Just install new over old linux, use same partititions. The installer should adjust grub itself.
So what does it mean that Verizon will "be in charge" of the updates for the Pixel?
Does that mean I won't actually get stock android but some fucked up Verizon version of Android like on the Galaxy phones?
The only reason I was remotely interested in the Pixel was because of 100% stock Android.
>>57033743
it means bloatware
>>57033743
B L O A T
L
O
A
T
>>57033743
You'll get updates when Verizon decides you do. Shit started with the Nexus 6. Total joke. iOS has become the only pure operating system for people who don't want carriers meddling.
What is the appropriate name for an image file with the contents of your screen?
Array of Bytes Representing a Two Dimensional Array of Pixels Comprised of Red, Green, Blue, and Optionally Alpha Channels Capturing an Instantaneous Moment in the Output of One or More Graphics Adapters Participating in the Rendering of a Graphical User Interface or Window System.
screenshot
screencap
screengrab
>>57033835
This plus time and date