Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Find number at string end

by Anonymous Monk
on Nov 15, 2012 at 05:58 UTC ( #1003933=note: print w/replies, xml ) Need Help??


in reply to Perl Regex

use v5.10.0; use strict; my $n; for my $s ( '/p/q/38948394' , 'b/62837893' , '/a/p/djo' , '/743339' ) { $s =~ m{/ (?<d>[0-9]+) $}x and $n = $+{d}, say "number: $n"; } __END__ number: 38948394 number: 62837893 number: 743339

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1003933]
help
Chatterbox?
[Cosmic37]: well... maybe not that much...
[corenth]: I want to climb in and look at how these neural networks work.
[erix]: I'd first make sure /that/ they work ;)
[Cosmic37]: basically there is a layer of inputs (an array of input numbers); each input can be "fully interconnected" with the next layer of "neurons" - each neuron of the next layer typically multiplies all of the outputs from the previous layer by weights ...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2018-02-20 18:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (274 votes). Check out past polls.

    Notices?